Use a Hash() on the password for the insert, then on verification/logon
hash() the form variable and compare the 2 hashes.


HTH



-----Original Message-----
From: Anthony Wong [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 2, 2003 17:45
To: CF-Talk
Subject: encrypting password


What would be the best method to encrypt password before it is inserted into
the database? I'm using MySQL database. Would cfencrypt and cfdecrypt
function sufficient in this case?

TIA

Anthony


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89
70.4
                                

Reply via email to