Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] OT: Mapping random numbers (PRNG)
Date: Fri, 06 Jun 2014 02:56:29
Message-Id: 20140606025619.GB3837@solfire
1 Hi,
2
3 I am experimenting with the C code of the ISAAC pseudo random number generator
4 (http://burtleburtle.net/bob/rand/isaacafa.html).
5
6 Currently the implementation creates (on my embedded linux) 32 bit
7 hexadecimal output.
8
9 From this I want to create random numbers in the range of [a-Za-z0-9]
10 *without violating randomness* and (if possible) without throwing
11 away bits of the output.
12
13 How can I do this mathemtically (in concern of the quality of output)
14 correct?
15
16 Thank you very much in advance for any help!
17 Best regards,
18 mcc

Replies

Subject Author
Re: [gentoo-user] OT: Mapping random numbers (PRNG) "Canek Peláez Valdés" <caneko@×××××.com>