The only difference I see with the example string "The quick brown fox jumps 
over the lazy dog", is that CF generates a string all uppercase alpha 
characters.  Aside from that it seems to give the same value.  So couldn't you 
just say:  
 
lcase(hash("The quick brown fox jumps over the lazy dog"))
 
to get the value that should match php generation?
 
Ryan

>>> [EMAIL PROTECTED] 09/11/2006 02:47 >>>

If we md5 a string in php and cfm we are getting different results


That is 

PHP - Md5(€*anystring€) - > Correct €" equivalent to MD5 val described in 
http://en.wikipedia.org/wiki/MD5

CFM €" Hash(€*anystring€,€MD5€) -> Returns a different value



Here is an example, if we execute the given below example in php we will get 
correct result but if we do it in cfm we are getting a different result. Can 
you please help? Do you have any idea how to create correct md5 values in cfm? 

MD5("The quick brown fox jumps over the lazy dog")  = 
9e107d9d372bb6826bd81d3542a419d6 (Correct MD5)




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259742
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to