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!

AES Algorithm Implementation w/ CBC & MAC

843811Dec 5 2006 — edited Dec 12 2006
Hello all,

I am trying to use the AES algorithm implementation that comes with J2SE 1.5 for encryption and decryption. I am trying to ensure that data encrypted in the Java implementation will also be able to be decrypted in a C/C++ program. The requirements are to use AES with a 128 bit encryption key with a configuration of CBC & MAC.

Does J2SE 1.5 support this configuration out of the box? I have so far been unsuccessful in getting this to work -- and I'm not sure if I have to use a third-party encryption library for this. Any help/advice is greatly appreciated.

Thank you,
Ryan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2007
Added on Dec 5 2006
8 comments
686 views