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>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 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 > Automated List Manager majord...@openssl.org >