Jonathon Hall c00c036c01
functions: Simplify dictionary word selection
The dice-rolls method was relatively complex and somewhat biased
(~2.4% biased toward 1-4 on each roll due to modulo bias).

Just pick a line from the dictionary at random.  Using all 32 bits of
entropy to pick a line once distributes the modulo bias so it is only
0.000003% biased toward the first 1263 words.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
2024-12-06 17:17:47 -05:00
..
2023-03-13 14:11:02 -04:00
2018-02-09 12:05:49 -05:00
2018-03-08 01:14:41 -05:00