On Wed, Nov 21, 2007 at 04:21:18AM -0800, Ramkumar Ganapathy wrote: > > I am trying to use the OpenSSL crypto C libraries to generate symmetric and > assymetric keys. This is part of development of a key management server. The > library as such do not have any functions for symmetric key generation. That > is, all the "generate_key" functions are based out of assymetric crypto > algorithms. Wheras I see functions in the JCE(java cryptographic extension) > and the likes that has symmetric key generation utilities. > > Does OpenSSL support what I am looking for? Any pointer to this will be much > appreciated!
Symmetric keys are just an array of random bytes of the right length. OpenSSL includes a PRNG interface seeded by external entropy sources (often /dev/urandom). -- Viktor. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]