Skip to content

Instantly share code, notes, and snippets.

@turunut
Created November 19, 2017 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turunut/112b05fab71e2143a719afe6bc19a4f0 to your computer and use it in GitHub Desktop.
Save turunut/112b05fab71e2143a719afe6bc19a4f0 to your computer and use it in GitHub Desktop.
IOTA seed generator
from random import SystemRandom
import random
import string
alphabet = u'9ABCDEFGHIJKLMNOPQRSTUVWXYZ'
generator = SystemRandom()
print(u''.join(generator.choice(alphabet) for _ in range(81)))
print(''.join(random.choice(string.ascii_uppercase + "9") for _ in range(81)))
stop = input('Press ENTER.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment