The Servlet API itself does not provide any help in encryption. But, you
have the whole Java language to use. There are simple techniques such as
using a MessageDigest to one way encrypt something, or you can look at the
Java Cryptography Extensions for more ideas. One thing to remember, if you
are trying to encrypt the contents of a password field in an HTML form, you
don't get the opportunity to encrypt the password until it has been
transmitted, in the clear, to the servlet engine. If you need it encrypted
before transmission, you'll have to do it in the browser using an Applet or
something similar.
(*Chris*)
----- Original Message -----
From: sajida kalsoom <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 06, 1999 8:57 AM
Subject: Fw: Does servlet provide password encryption method
> sorry I am sending again I think my first message has been lost some
where.
> ----- Original Message -----
> From: sajida kalsoom <[EMAIL PROTECTED]>
> To: A mailing list for discussion about Sun Microsystem's Java Servlet API
> Technology. <[EMAIL PROTECTED]>
> Sent: Friday, August 06, 1999 1:22 PM
> Subject: Does servlet provide password encryption method
>
>
> >Dear Users,
> >
> >I want to encrypt password ,does servlet provide any method to encrypt
> >simple text password so that it can be used in query string.
> >
>
>
___________________________________________________________________________
> 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