Is there any sample Java code that does AES encryption exactly like this website?

Posted by user1068636 on Stack Overflow See other posts from Stack Overflow or by user1068636
Published on 2012-10-27T18:09:31Z Indexed on 2012/10/28 5:01 UTC
Read the original article Hit count: 122

Filed under:
|
|

http://www.hanewin.net/encrypt/aes/aes-test.htm

If you go to this website and enter the following:

"Key In Hex":        00000000000000000000000000123456

"Plain Text in Hex": 00000000000000000000000000000000

And click on "Encrypt" button you will see the ciphertext in hex is:

3fa9f2a6e4c2b440fb6f676076a8ba04

Is there a Java program out there that I can do this (I.e. Is there an AES library that will input the "Key In Hex" above with the "Plain Text In Hex" above and generate the Ciphertext in Hex above? )?

I would appreciate any advice or links to Java sample code that does this.

© Stack Overflow or respective owner

Related posts about java

Related posts about encryption