CF's hash() already defaults into MD5. All you need to do is supply the string. You can readup on built-in hash and related encrypt, and GenerateSecretKey functions at
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/w whelp.htm?context=ColdFusion_Documentation&file=00000503.htm > -----Original Message----- > From: Sasha Pavlovic [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 29, 2007 1:51 PM > To: CF-Newbie > Subject: creating md5 hash using a secret key > > Please help, > > I need to create an md5 hash using a secret key that has been given to me. > The problem I am having is that the hash function that I can see in cfm > has > no place to use the secret key. HELP!!! > > sasha > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3087 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
