From: meino.cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] OT: Mapping random numbers (PRNG)
Date: Fri, 6 Jun 2014 04:56:19 +0200 [thread overview]
Message-ID: <20140606025619.GB3837@solfire> (raw)
Hi,
I am experimenting with the C code of the ISAAC pseudo random number generator
(http://burtleburtle.net/bob/rand/isaacafa.html).
Currently the implementation creates (on my embedded linux) 32 bit
hexadecimal output.
From this I want to create random numbers in the range of [a-Za-z0-9]
*without violating randomness* and (if possible) without throwing
away bits of the output.
How can I do this mathemtically (in concern of the quality of output)
correct?
Thank you very much in advance for any help!
Best regards,
mcc
next reply other threads:[~2014-06-06 2:56 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 2:56 meino.cramer [this message]
2014-06-06 3:58 ` [gentoo-user] OT: Mapping random numbers (PRNG) Canek Peláez Valdés
2014-06-06 18:39 ` meino.cramer
2014-06-06 19:37 ` null_ptr
2014-06-06 19:55 ` Canek Peláez Valdés
2014-06-06 21:05 ` Matti Nykyri
2014-06-06 21:03 ` Matti Nykyri
2014-06-07 9:19 ` Matti Nykyri
2014-06-07 12:13 ` Marc Joliet
2014-06-26 21:00 ` [gentoo-user] " Kai Krakow
2014-06-26 22:07 ` Kai Krakow
2014-06-27 8:55 ` thegeezer
2014-06-27 17:49 ` Matti Nykyri
2014-06-27 17:50 ` [gentoo-user] " Kai Krakow
2014-06-27 20:59 ` Neil Bothwick
2014-06-27 21:13 ` [gentoo-user] " Matti Nykyri
2014-06-28 13:08 ` Matti Nykyri
2014-06-28 21:28 ` [gentoo-user] " Kai Krakow
2014-06-28 22:06 ` Canek Peláez Valdés
2014-06-29 0:37 ` gottlieb
2014-06-29 0:53 ` Canek Peláez Valdés
2014-06-29 1:46 ` [gentoo-user] " »Q«
2014-06-29 2:57 ` Canek Peláez Valdés
2014-06-29 6:24 ` [gentoo-user] " Matti Nykyri
2014-06-29 12:38 ` [gentoo-user] " Kai Krakow
2014-06-30 23:47 ` Matti Nykyri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140606025619.GB3837@solfire \
--to=meino.cramer@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox