> How did the cf hash() function's output differ from the PHP one? > > mxAjax / CFAjax docs and other useful articles: > http://www.bifrost.com.au/blog/ > > 2009/7/3 Oli Rosenbladt <o...@row2k.com>: > > > > Hello, > > > > I am trying to use CF to compare a password encrypted with MD5 in > PHP using: > > > > crypt($password, $user_salt) // where user_salt is a 12-character > string like "$1$ISzYi6zf$" > > > > This results in a string like: "$1$ISzYi6zf$prff0mAKPVBHNKOlRradj1" > > > > So far, nothing I have tried in CF has allowed me to "rebuild" the > result 34-character string so that I can compare them to what's in the > database, ie. I am looking to take user input, add the known salt to > it, and come up with a 34 character string in order to compare them.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4