|
@ -159,7 +159,7 @@ class Mnemonic(object): |
|
|
i = self.mnemonic_decode(seed) |
|
|
i = self.mnemonic_decode(seed) |
|
|
return i % custom_entropy == 0 |
|
|
return i % custom_entropy == 0 |
|
|
|
|
|
|
|
|
def make_seed(self, seed_type='standard', num_bits=128, custom_entropy=1): |
|
|
def make_seed(self, seed_type='standard', num_bits=132, custom_entropy=1): |
|
|
import version |
|
|
import version |
|
|
prefix = version.seed_prefix(seed_type) |
|
|
prefix = version.seed_prefix(seed_type) |
|
|
# increase num_bits in order to obtain a uniform distibution for the last word |
|
|
# increase num_bits in order to obtain a uniform distibution for the last word |
|
|