Last active
September 24, 2019 10:30
-
-
Save Hribek25/d8b46334b5db2f1d99282c8c8448faf4 to your computer and use it in GitHub Desktop.
Generating a seed: IOTA-facing-library-based approach
This file contains 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
# The snippet is a part of the IOTA Developer Essentials project. You can reach it at https://hribek25.github.io/IOTA101/ | |
# Complete description and story behind the snippet is available at: https://hribek25.github.io/IOTA101/Allchapters_python.ipynb.html#65788F1C3FCB | |
# Requirement: PyOTA library (!pip install pyota) | |
from iota.crypto.types import Seed #importing PyOTA library to interact with | |
NewSeed = Seed.random() | |
print(NewSeed) | |
print("Length: %s" % len(NewSeed)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment