1
0

move seed generation function to bitcoin.py

This commit is contained in:
thomasv
2013-02-24 10:16:14 +01:00
parent bd717897e0
commit 5da3cab24b
2 changed files with 5 additions and 3 deletions

View File

@@ -348,6 +348,10 @@ class EC_KEY(object):
###################################### BIP32 ##############################
random_seed = lambda n: "%032x"%ecdsa.util.randrange( pow(2,n) )
def bip32_init(seed):
import hmac