Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

3DES Encryption

Thread view: 
Amitesh Hati - 29 May 2006 14:21 GMT
Can some one help me with a sample program for 3DES encryption
decryption using java cryptographic extension?

Can you please tell me how to generate a key from a static string?

The JCE documention is a bit complex and covers too may things
together. It's a bit complex to understand that how I can specify
algorithm specific keys.

Thanks in advance.
Jan Peter Stotz - 31 May 2006 20:23 GMT
Amitesh Hati schrieb:

> Can some one help me with a sample program for 3DES encryption
> decryption using java cryptographic extension?

There are a lot of examples in the web available. You are probably only
missing the right keywords. Try:

desede jce example

> Can you please tell me how to generate a key from a static string?

Read the string, convert each two characters to one byte and create an
DESedeKeySpec() from the byte-array.

Jan


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.