Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@schierlm
Created August 26, 2017 17:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schierlm/df0320135e43e261bc336629ba7d57b7 to your computer and use it in GitHub Desktop.
Save schierlm/df0320135e43e261bc336629ba7d57b7 to your computer and use it in GitHub Desktop.
Generating a IOTA seed using a dice

Generating a IOTA seed using a dice

If you do not trust seed generators and do not believe your random keyboard smashing is random enough, you can use a dice to generate a random, perfectly distributed IOTA seed.

Just follow the instructions below and write down the seed while you are throwing your dice.

Note that this can be tedious, as between 162 and 243 dice rolls are required to generate the whole seed.

Instructions

  • Roll your dice two times (remember the order of the results).
  • If the first roll is a 6, or if the first roll is a 5 and the second roll is 4-6, roll a third time.
  • Look up the character in the table below
  • Repeat until your seed has 81 characters
First roll Second roll 1 2 3 4 5 6
1 A B C D E F
2 G H I J K L
3 M N O P Q R
4 S T U V W X
5 Third roll 1-2
Third roll 3-4
Third roll 5-6
Y Z 9 A
B
C
D
E
F
G
H
I
6 Third roll 1-2
Third roll 3-4
Third roll 5-6
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
9
@kachunga
Copy link

Correction, (i) isn't about imperfectly weighted dice. What it does do is exclude all the numbers 1-6 about equally, helping avoid bias in the selection of characters forming the seed. (iii) does help minimize bias from dice that may be imperfectly weighted.

@mackleberry
Copy link

Guys I need to add a different way of generating an iota seed.

Its easier better simpler and 100% random

You need 9 different colores dice and a bag.

The dice has 6 faces. We only need 3 outcomes per dice. So if 1or2, 3or4, 5or6. 3 possibilities not 6.

3 possibilities times 9 equals 27.

100per cent random.

So 9 dice in a bag. Shake the bag. Pick 1 face of 1 dice in that bag. And you have the car 9 or A-Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment