Hi, You can use random bytes as symmetric key. See RAND_bytes() function to get random bytes from your selected random number generator (by default it's the OpenSSL integrated PRNG).
Set the key (and the IV) in any symmetric algorithm by using EVP_EncryptInit_ex() function if you use EVPs. You can use *_set_key functions (like RC4_set_key()) for specific for each algorithms. bye, -- Jean REBIFFE ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]