Hello,

Use RAND_bytes().
This function uses hashes for you.

Best regards,
--
Marek Marcola <marek.marc...@malkom.pl>


owner-openssl-us...@openssl.org wrote on 02/26/2009 07:59:14 PM:

> hello
> i want to create a some random values (N values )using SHA1,  ( like 
lamport 
> authentication protocol)
> how can i do that ?
> i tried to generate a random number and use sha to generate a digest (i 
did it  N times 
> ), but i'm afraid , i'm not sure that it's correct.
> tell me plz if i have to use a big random number or  a random integer is 
sufficient ??
> 
> best regards
> 
> Découvrez tout ce que Windows Live a à vous apporter !
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
  • hash chaine sarym binome
    • Re: hash chaine Marek . Marcola

Reply via email to