Hi. I'm using the EVP_Encrypt* routines to encrypt data using rc4. I've managed to use the routines successfully to encrypt and decrypt using des, using a simple key stored in an unsigned char array. However, when I try to use the same routines for rc4() I need to pass a public/private key into EVP_EncryptInit(); The key I have is of type EVP_PKEY. How do I translate it into a form suitable for the Init function? Thanks, and please feel free to point out any relevant documentation I should have looked at first. Marcus +-------------------------------------------------------------------------+ | Administrative requests should be sent to [EMAIL PROTECTED] | | List service provided by Open Software Associates, http://www.osa.com/ | +-------------------------------------------------------------------------+
