in reply to Re^2: Randomizing Large Integers
in thread Randomizing Large Integers
I get the following behavior that lets me assume that 32 bit random integers work:
# perl -e 'printf "%010x\n", int rand 2**16' 00000052e2 # perl -e 'printf "%010x\n", int rand 2**32' 006f7ae0c5 # perl -e 'printf "%010x\n", int rand 2**64' 00ffffffff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Randomizing Large Integers
by BrowserUk (Patriarch) on May 19, 2008 at 21:25 UTC | |
|
Re^4: Randomizing Large Integers
by ikegami (Patriarch) on May 20, 2008 at 16:59 UTC |