MultiversX Tracker is Live!

The most worthless jackpot or proof that /dev/random Is REALLY bad

Etherum Reddit

More / Etherum Reddit 40 Views

I created a new wallet (using go-ethereum) to use on polygon Mumbai (testnet) and end up to have found same address (hence same private Key) on etherscan that was active 6 years ago and stop being Active 3 years ago. And also Active on binance 110 days ago... I'm still puzzled if i hit a (worthless) impossible jackpot or computer random Is weakiest than i thought. Also i notice It cause my wallet was emptied evry time (on Mumbai, so no value) by someone else (i Hope the owner of the other 2 activities on BnB and eth).

import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "golang.org/x/crypto/sha3" ) privateKey, err := crypto.GenerateKey() if err != nil { return fmt.Errorf("%d Cannot generate crypto key: %v", err) } privateKeyBytes := crypto.FromECDSA(privateKey) privateKeyString := hexutil.Encode(privateKeyBytes)[2:] publicKeyECDSA := privateKey.PublicKey publicKeyBytes := crypto.FromECDSAPub(&publicKeyECDSA) publicKeyString := hexutil.Encode(publicKeyBytes)[4:] hash := sha3.NewLegacyKeccak256() hash.Write(publicKeyBytes[1:]) addressClean := crypto.PubkeyToAddress(publicKeyECDSA) 

FYI generateKey call

return ecdsa.GenerateKey(S256(), rand.Reader) 

that use

randutil.MaybeReadByte(rand) 

imported from

"crypto/internal/randutil" 

edit: added the code for everyone to see

submitted by /u/gnumark
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments