Re: Random number generator
- From: Arnold Trembley <arnold.trembley@xxxxxxxxxxxxxxxx>
- Date: Fri, 25 Aug 2006 05:14:37 GMT
djeanne wrote:
Hi all,
I am looking for a way to generate random numbers with good quality.
The system the generator should be working on is an MVS system.
Does anyone have a clue of how to do it ?
Thanks in advance,
Djeanne.
There's lots of resources on the web:
http://en.wikipedia.org/wiki/Pseudorandom_number_generator
Linear Congruence was described by Donald Knuth over 30 years ago, and would be relatively simple to implement in COBOL. It's fairly good for simulations, not good at all for cryptographic purposes.
http://en.wikipedia.org/wiki/Linear_congruential_generator
You might consider researching RC4 if you need a Pseudo-Random Number generator that has some desireable qualities for cryptography. It can also be implemented in COBOL, with a little work.
http://en.wikipedia.org/wiki/RC4
--
http://arnold.trembley.home.att.net/
.
- References:
- Random number generator
- From: djeanne
- Random number generator
- Prev by Date: Re: Random number generator
- Next by Date: PIC X greater 16 MB?
- Previous by thread: Re: Random number generator
- Next by thread: Recycling of acronyms?
- Index(es):
Relevant Pages
|