aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java Encryption Algorthim" Watch "Java Encryption Algorthim" New topic
Author

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
A.Raj
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1067
    
  10

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Encryption Algorthim