06-30-2018, 02:15 AM
An ethpresale tool on github says this: https://github.com/kholia/ethpresale/blo...ethtool.py
The whole thing is crazy?
Quote:if not seed:
seed = random_key().decode('hex') # uses pybitcointools' 3-source random generator
encseed = aes.encryptData(pbkdf2(pw),seed)
ethpriv = sha3(seed)
btcpriv = sha3(seed + '\x01')
ethaddr = sha3(privtopub(ethpriv)[1:])[12:].encode('hex')
btcaddr = privtoaddr(btcpriv)
bkp = sha3(seed + '\x02').encode('hex')
return {
"encseed": encseed.encode('hex'),
"bkp": bkp,
"ethaddr": ethaddr,
"btcaddr": btcaddr,
"email": email
}
def genwallet(seed,pw,email):
The whole thing is crazy?