Hi all,
New to the JCE. I have some code that encrypts and decrypts some strings.
It works nothing to hard and no in depth knowledge of cryptographical techniques need, not sure if i should take teh credit of JCE should
However I am
testing my class, and was trying to force the decryption method to throw a bad padding exception. This I managed, but i dont understand how or why.
I defined my Algorithm as AES, does AES have a default padding scheme or is the default no padding? (Have a feeling it is no padding as default).
I have read that the default block size is 8 bytes for AES, however the array of byte I gave it to decode was 8 bytes long.
any help and insight would be greatly welcomed.
Thanks
Gavin