Skip to content

Commit fb88387

Browse files
authored
Update mnemonic.md
1 parent 8120457 commit fb88387

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/mnemonic.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
```python
55
from cryptofuzz import Mnemonic
66

7-
# -- Mnemonic Object
8-
mnemonic = Mnemonic("english")
7+
mne = Mnemonic()
98

10-
# -- Generate Mnemonic With Standard Size
11-
generate_mnemonic = mnemonic.generate(strength=128)
9+
words = "abort able abandon ability absent absent attitude audio avoid baby badge bacon bag ban banana bank banner bar base basis bat battle battle bus busy buy buy bus"
10+
11+
seed = mne.to_seed(words)
1212

13-
# -- Check Valid Mnemonic
14-
is_mnemonic = mnemonic.check(generate_mnemonic)
1513
```

0 commit comments

Comments
 (0)