Re: Random number generator

2012-04-05 Thread Jeffrey Walton
On Thu, Apr 5, 2012 at 12:07 AM, Prashanth kumar N wrote: > You can use the below API's > > RAND_bytes() > > RAND_pseudo_bytes() Sorry to nitpick. Its gets old auditing high integrity code where the damn programmers ignore return values as if every succeeds. #include int RAND_bytes(unsigned

Re: Random number generator

2012-04-04 Thread Prashanth kumar N
You can use the below API's RAND_bytes() RAND_pseudo_bytes() On Thu, Apr 5, 2012 at 12:33 AM, Jeremy Farrell wrote: > http://lmgtfy.com/?q=openssl+random+number > > > From: Alex Chen [mailto:alex_c...@filemaker.com] > > > > There is a 'rand' command in the openssl command line tool to generat

RE: Random number generator

2012-04-04 Thread Jeremy Farrell
http://lmgtfy.com/?q=openssl+random+number > From: Alex Chen [mailto:alex_c...@filemaker.com] > > There is a 'rand' command in the openssl command line tool to generate > 'pseudo' random number generator. But I cannot find the API from > either the 'ssl' or 'crypto' man pages. > Can someone poin

Re: Random number generator

2005-07-15 Thread urimobile
Of course all software RNG have their period! Because they are *P*RNG - PSEUDO random number generators. In other words - good enough for a limited time, and assuming that the adversary cannot get the seed. There can possibly be no software-based true RNG: if it is produced by an ALGORITHM, then

Re: Random number generator

2005-07-15 Thread Bernhard Froehlich
Jagannadha Bhattu wrote: Hi, I am not sure if this is the correct mailing list to post this query. I can appreciate anybody who can point me the right one, if this is not the one. After reading about random number generators I did some search in internet and learnt that all the software rando