aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes How to use 3DES algorithm Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "How to use 3DES algorithm" Watch "How to use 3DES algorithm" New topic
Author

How to use 3DES algorithm

ashok
Greenhorn

Joined: Feb 22, 2008
Posts: 2
Can somebody please provide following informations:
1)What jar files need I to download and from where?
2)I have seen some of the examples on net. And I've seen that they use 16 characters per key. Are these characters in hexadecimal format?
3)If yes, then is it necessary that these key value must be 16 characters long after conversion?
4)If yes, and I have any key in non-hexadecimal format which has less than 8 character how can I convert them in hexadecimal format so that after conversion it contain 16 characters? It would be very nice If somebody can provide code snippet for such a scenario.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35223
    
    7
Hello "as ch"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, the Java API for en-/decryption is called JCE. You can find some links about it in the http://faq.javaranch.com/java/SecurityFaq, e.g. a complete code example of how to use DES. Using triple-DES instead means just a change in an algorithm parameter.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use 3DES algorithm
 
Similar Threads
Octal number conversion
Binary conversion
Licensing using JCE
use of quotes in type-in qts
Hexadecimal to String and vis versa