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!

BC/OpenSSL interoperability for pbeWithSHAAnd3-KeyTripleDES-CBC

843810Jun 16 2003 — edited Nov 30 2003
Hi, all. I'm trying to check an interoperability between Bounty Castle's "PBEWITHSHAAND3-KEYTRIPLEDES-CBC" Cipher and OpenSSL's des_ede3_cbc_encrypt(..) <where the key created by PKCS12_key_gen(..)>. I found that the same input, iv and passwd lead to different encrypted results for each one of platforms, inspite of PKCS#12 complience for both of them (at least, as declared). The encrypt-decrypt cycle works fine within each one. <I don't post the code to avoid the message overloading, but if required - I sure do so>.
1. May be anybody knows - where could I found a standard test vector for "pbeWithSHAAnd3-KeyTripleDES-CBC" algorithm to check which one of two causes a problem?
2. Has anybody faced with this problem already? <as I checked there's no such postings in the forum>
Any inputs are highly appreciated and wellcomed, posted or mailed directly.

Sincerely, Jab.
jabberW@pochtamt.ru
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2003
Added on Jun 16 2003
15 comments
1,301 views