MD5 is a good choice for this type of function. It is a one way hash that you cannot get the original string back from. It is also easy to implement by simply hashing the user input string (password) from the form and comparing it to the stored version of the original hashed string (password). Make sure that you send the string over an SSL connection.

Witango Support


On 03/05/2004, at 1:53 PM, Alan Wolfe wrote:

Hi Steve,

Yeah MD5 do what you want and is what i would use (:

ive read a few books on cryptography and coded a few simple ones but that
doesnt make me an expert so someone else might have a better suggestion :P


----- Original Message -----
From: "Fogelson, Steve" <[EMAIL PROTECTED]>
To: "Witango User Group (E-mail)" <[EMAIL PROTECTED]>
Sent: Sunday, May 02, 2004 8:37 PM
Subject: Witango-Talk: Cipher


I want to save passwords with the <@cipher> tag. I don't want to
decrypt/hash them, so it would be a one way encryption/hash.

When a user logs in, I want to encrypt/hash the submitted password and
then
compare the encrypted/hashed password to the saved encrypted/hashed
password. The password could be up to 10 characters in length.

I am a newbie to encryption. What cipher method would you recommend? I was
thinking MD5???????????


Thanks for any advise.

Steve Fogelson
Internet Commerce Solutions
______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to