I'd like to add something.

You have to decide on what you want: strong encryption of the password or being able 
to remind
user of the password.

As Craig wrote, passwords encrypted using (I'll throw another one in) SHA or MD5 or 
whatever
are unfeasible to decrypt so you won't be able to tell password back to the user.  And 
if you
encrypt it using something reversible then your passwords are not too safe and can be 
cracked.

dave.

Jeetandra Mahtani wrote:

> Hello:
> I have a registration form that has a field for a userid and password. These two 
>values are
> stored in a table on a AS/400. Is it possible to store the passwords in encrypted 
>format?
> If I need to let the user know his password, is it possible to unencrypt it? I am 
>pretty
> close to the end of a project and need to solve this quickly. I would greatly 
>appreciate it
> if someone would let me know soon.
> Thank you,
> J
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> ___________________________________________________________________________
> 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

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
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

Reply via email to