AES Java Implementation?

Posted on 2004-11-16
Medium Priority
Last Modified: 2008-01-09
Hello, Mr. Expert:
I'm looking for some completed AES crypto JAVA Implementation Class or Source code. Is there anyone know about that?
I'm trying to use 256bits key to encrypt 128 bits plain text to 128 bits Cipher text with AES Algorithm.
Please Give me some indeas?
Thank you very much!!
Question by:Dahai528
  • 3
  • 2
LVL 35

Accepted Solution

girionis earned 500 total points
ID: 12592363
AFAIK bouncy castle provides an implementation of AES: http://www.bouncycastle.org/

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

ID: 12592407
I checked All of above links already.
Sun's AES Class can't support 256 bits key.
islab's AES only can encrypt the same size of cipher text as key's size. (for example: key's size is 256bits, plain text's size is 128 bits, cipher text's size is 256 bits. actually I want cipher text's size is 128 bits as well).

Assisted Solution

CodingExperts earned 500 total points
ID: 12600695
in the link ....

under the topic
>>What Is AES?
AES is a federal standard for private-key or symmetric cryptography. It supports combinations of key and block sizes of 128, 192, and 256.

clearly mentions it  supports combinations of key and block sizes of 128, 192, and 256........ well did you check out with the implementation.
LVL 35

Expert Comment

ID: 12800915
My opinion is that points should be split between me and CodingExperts

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question