Re: Pass DES encrypted data between Java and openssl

2006-12-06 Thread Marc Saegesser
Steve, Thanks for the help. I finally got this working and figured I'd reply here in case this might help others. I found a Java implementation of EVP_BytesToKey() in the JRuby code and borrowed it. I ran the password through it and the key and IV I got back didn't mach what openssl enc -d -de

Re: Pass DES encrypted data between Java and openssl

2006-12-05 Thread Marc Saegesser
Steve, Thanks for the help. I finally got this working and figured I'd reply here for posterity's sake. I found a Java implementation of EVP_BytesToKey() in the JRuby code and borrowed it. I ran the password through it and the key and IV I got back didn't mach what openssl enc -d -des -p showe

Pass DES encrypted data between Java and openssl

2006-12-04 Thread Marc Saegesser
I have an existing application (which I don't control) that sends me files that were encrypted using an openssl comand like: openssl enc -e -des -pass pass: I would like to decrypt these files inside a Java application and generate response files that the client can decrypt using a similar opens