3DES Encryption

A

Amitesh Hati

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.
 
J

Jan Peter Stotz

Amitesh said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top