$ curl -s https://gist.githubusercontent.com/pv8/9c509a8ebcb3de1e7ceb8ea5d02e6f23/raw/152a24f470c96643180e6faded4c77b1c737e1d7/iota_seed_gen.py | python3
Last active
December 15, 2017 17:17
-
-
Save pv8/9c509a8ebcb3de1e7ceb8ea5d02e6f23 to your computer and use it in GitHub Desktop.
IOTA Seed Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from random import SystemRandom | |
LENGTH = 81 | |
alphabet = b'9ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
sys_random = SystemRandom() | |
print(''.join([chr(sys_random.choice(alphabet)) for _ in range(LENGTH)])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment