File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Java Encryption Algorthim Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java Encryption Algorthim" Watch "Java Encryption Algorthim" New topic

Java Encryption Algorthim

Arockia Raj
Ranch Hand

Joined: Dec 08, 2006
Posts: 37
Hi All,
Anyone know java implmentation of following algorithm for encryption and decrption.

National Bureau of Standards Standard Data Encryption Algorithm

Thanks and Regards
Richard Tookey

Joined: Aug 27, 2012
Posts: 1166

Yes - but DES is deprecated in favour of the Advanced Encryption Standard (AES) so unless you are trying to decrypt or encrypt to match a legacy system that uses DES you should change to using AES. Both DES and AES are available in the Java Cryptographic Extension (JCE) which, since about JDK1.5, has been available as part of the JDK/JRE .

Note - there is more to encryption than just the base algorithm and there are many pitfalls. A good starting point for studying Java cryptography is "Beginning Cryptography with Java" written by David Hook and published by Wrox. There are also many online tutorials which Google will find.
Arockia Raj
Ranch Hand

Joined: Dec 08, 2006
Posts: 37
Thanks Richard
I agree. Here's the link:
subject: Java Encryption Algorthim
It's not a secret anymore!