in reply to Re^3: How to generate different random numbers?
in thread How to generate distinct random numbers?
A random shuffle is really a random selection from a uniform distribution of the set of all possible permutations on that range of numbers (or N!).
And who said the numbers had to be used for cryptographic purposes? You're adopting a very narrow view of things to make your case, pilgrim.
Any time you impose a restriction on random, you've made it not random.Well this is just plain false (eg. if I restrict myself to a set of random even numbers, the numbers I've chosen are still random, and indeed, no less random). I think what you meant to say is that for cryptographic purposes, random numbers should only be chosen from a uniform distribution. This is an arguable proposition, especially since many distributions can be translated into one another, and thus any cryptographic function can transform a non-uniform distribution into a uniform one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to generate different random numbers?
by thor (Priest) on Sep 08, 2004 at 03:19 UTC | |
by Aristotle (Chancellor) on Sep 08, 2004 at 20:38 UTC | |
by Pragma (Scribe) on Sep 08, 2004 at 04:38 UTC | |
by thor (Priest) on Sep 08, 2004 at 12:02 UTC | |
by Pragma (Scribe) on Sep 08, 2004 at 18:16 UTC | |
by thor (Priest) on Sep 08, 2004 at 22:01 UTC | |
|