RE: Question about password-based encryption key generation

2006-03-09 Thread uno wand
Never mind, I found the function PKCS5_PBKDF2_HMAC_SHA1(). Hi, Could someone point me to an example on how to generate encryption from password using Openssl? I have a java application that uses HmacSHA to generate encryption key from a password, and the encrypted msg is send to the C ap

Re: Question about password-based encryption key generation

2006-03-09 Thread Brian Candler
On Thu, Mar 09, 2006 at 05:33:42AM -0600, uno wand wrote: > I have a java application that uses HmacSHA to generate encryption key from > a > password, and the encrypted msg is send to the C application. Both Java and > C apps shared the same password and salt, and the Java app is using > AES/128

Question about password-based encryption key generation

2006-03-09 Thread uno wand
Hi, Could someone point me to an example on how to generate encryption from password using Openssl? I have a java application that uses HmacSHA to generate encryption key from a password, and the encrypted msg is send to the C application. Both Java and C apps shared the same password and sa