It replies '42' everytime. And that's a good answer.

Le 05/04/2012 13:35, Leonardo a écrit :

I'd like to add some question about this.

What kind of RNG is implemented? Linear Congruential generator?

Is it another more sophisticated?

Thanks

Leonardo

*De:*owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] *Em nome de *Prashanth kumar N
*Enviada em:* quinta-feira, 5 de abril de 2012 01:07
*Para:* openssl-users@openssl.org
*Assunto:* Re: Random number generator

You can use the below API's

  RAND_bytes()
RAND_pseudo_bytes()

On Thu, Apr 5, 2012 at 12:33 AM, Jeremy Farrell <jeremy.farr...@oracle.com <mailto:jeremy.farr...@oracle.com>> wrote:

http://lmgtfy.com/?q=openssl+random+number

> From: Alex Chen [mailto:alex_c...@filemaker.com <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 point me to the API page if it is available?
>
> Is this RNG implementation different in the regular distribution  and
> the FIPS Object module?

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org <mailto:openssl-users@openssl.org> Automated List Manager majord...@openssl.org <mailto:majord...@openssl.org>



--
Erwann ABALEA
-----
Ca fait déjà plusieurs semaines que j"essaie de correspondre par l"
intermédiaire d"un groupe de discussion. Ca ne fait que deux jour que je
suis parvenu à expédier un message
-+- GM in GNU : Patience et longueur de temps.. -+-

Reply via email to