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 with AES and no pandding

843810Dec 16 2003 — edited Dec 17 2003
I am using ASE for encrypting 16 bytes password (used MD5) the algorithm(AES) are padding
up the result to 32 bites, the other side (decrypt) is not using Java so I get a conflict. I have try to use

Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding");

However, it kept giving exception as "java.security.InvalidKeyException: Wrong algorithm: AES or Rijndael required".

What to do?

I'm new to cryptography, so links for more reading are also helpful.

Thanks,

Bj�rn
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2004
Added on Dec 16 2003
3 comments
2,225 views