Java package for encryption

I want to ask a little question. I need to write a program that encrypts text using a 32 bit algorithm using Java. so why do you need an appropriate package or library?

thanks for all

+4
source share
3 answers

The javax.crypto package, as Bob pointed out, would be your best bet as it is part of the Java API. With that said, I know that the implementation that comes with the JDK (at least for certain algorithms and in the old version of the JDK) was rather slow.

If you are looking for alternative implementations (which still comply with the javax.crypto specification), take a look at Bouncy Castle:

http://www.bouncycastle.org/

+5
source

Did you mean the javax.crypto package? From the JDK 6u10, javadoc is found here .

+2
source

Look at the security product (library) of the java Technical University of Graz (Austria). http://jce.iaik.tugraz.at/

Unfortunately, it looks like their product is no longer free. So I don’t know if this is an option for your problem.

0
source

All Articles