Biju,
I think Domanic is correct.. You need a secret-key algorithm, like RC4.
That way your servlet knows the key used to decrypt and encrypt the data,
but no one can really break the encryption unless they figure out the key.
However, choosing an encryption algorithm is somewhat off-topic for this
list. I did something similar last year (albeit with a -- gasp -- ISAPI
filter). I spent some time doing some research on the net, and I bought the
Applied Cryptography book (highly recommended). Just do your homework.
<<KM>>
[EMAIL PROTECTED]
Thursday March 9, 2000 04:10 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Kito Mann/PSG/Prudential)
Subject: Re: Cryptography and Encryption
Biju,
I think MD5 is a message digest algorithm not an encryption
algorithm. It provides an unforgeable signature (checksum) but is not an
encrypted form of the message you start with.
You need to look at RSA/DES encryption I guess.
-Dominic
At 04:45 PM 2/29/00 +0530, you wrote:
>Hi! All,
>
>I am trying to encode the password using the MD5 algorithm thats
>provided with the jdk1.2.We also have a necessity to decrypt the
>password....Can somebody who has worked on this suggest the code that
>goes in for decrypting.(We are interested in using MD5 for decrypting as
>well)
>Are there any freeware packages that can be imported and used ??
>This is with reference to servlets...
>Please respond ASAP...
>
>Thanks in Advance!!
>
>Regards,
>Biju
>
>__________________________________________________________________________
_
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html