Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Crypto++ encryption/JCE decryption

843811Jul 18 2007 — edited Jul 26 2007
Hi,
Has anyone had any luck integrating crypto++ with java? I need to decrypt a string encrypted by the crypto++ code. It is using the DefaultEncryptorWithMAC which says it is a Password-Based Encryptor using DES-EDE2 (a triple des pass twice) and HMAC/SHA-1. Being a relative newbie to encryption, I assumed I'd use PBEWithHmacSHA1AndDESede with the SecretKeyFactory and Cipher. I assume I'll have to use BouncyCastle for that as I didn't see it as an option in what is provided out of the box.

Has anyone done this before or can provide some insight as to which direction I should head?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2007
Added on Jul 18 2007
6 comments
543 views