Generating a seed: IOTA-facing-library-based approach
// 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_csharp.ipynb.html#65788F1C3FCB | |
// Requirement: Tangle.Net library (!nuget install Tangle.Net) | |
#r "Tangle.Net.dll" | |
using Tangle.Net.Entity; | |
var seed = Seed.Random(); // Initializing new random seed | |
Console.WriteLine(seed.ToString()); | |
Console.WriteLine("Length :" + seed.ToString().Length); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment