Ideas

Use beads to generate random letters and numbers by hand

by | Published | Last updated

Letter beads in a Cambridge shop, September 2017
Letter beads on display in a Cambridge shop - The Beaderie 14 Magdalene Street CB3 0AF, September 2017 The stickers show "10p".

Here is a practical method for generating a random letter or number by hand, without using a computer. Such randomness can be used for generating passwords, cryptographic keys and one-time-pads.

The method is to use letter beads. The photograph shows some on sale in a Cambridge shop in 2017. Put one bead of each letter into a bag or other container, shake them thoroughly and then take one out before looking at it. Put the bead back in the container shake thoroughly and repeat for as many random letters as you need.

One advantage of letter beads over dice is that you can easily generate random numbers that are evenly distributed over any small range rather than only 1-6. For example, for random hex digits you could use letter beads A-P and translate to hex using the following table. For other ranges you can decide a mapping from bead to number. You can also buy beads marked with numbers.

Mapping each of the first 16 letters of the alphabet to a hex digit
Letter Hex
A a
B b
C c
D d
E e
F f
G 4
H 5
I 1
J 6
K 7
L 8
M 3
N 2
O 0
P 9

Related articles