Re: Random number generator





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/

.



Relevant Pages

  • Re: Random number generator
    ... 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. ... Remove nospam to email me. ...
    (comp.lang.cobol)
  • Random number generator
    ... 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? ...
    (comp.lang.cobol)
  • Re: No sound...?
    ... one can live without those two - but I'd miss Kant Generator ... mostly due to the new style poor quality icons we've had foisted on us. ... Plain TeX isn't as far as I need to go. ... The most general reference is §ion. ...
    (uk.comp.sys.mac)
  • Re: Any Saw Stop Owners
    ... > Thousands of businesses are using this data-driven methodology to ... the analysis tools that come along with it are valuable. ... because their quality was low at the time. ... > GE generator - he said "No way. ...
    (rec.woodworking)
  • Re: AC line generator (60 hz) characteristics
    ... > from him, and we're going to get a generator here, etc. ... Assume output voltage will only be nominal and related to engine speed. ... on generator quality, assume a non-linear series output inductance of up to ... Bear in mind that generators have limited power capabilities and poor ...
    (sci.electronics.design)