Message-
>From: Short Fuse Media [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 05, 2005 2:54 PM
>To: CF-Talk
>Subject: Re: MD5 Hmac - What am I missing here?
>
>Hmm, didn't seem to affect it... question, would even Bin2Hex be
>apropriate in this instance? Or would
Unless you must use java, CF6.1's hash() function does MD5.
-Original Message-
From: Short Fuse Media [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 2:54 PM
To: CF-Talk
Subject: Re: MD5 Hmac - What am I missing here?
Hmm, didn't seem to affect it... question,
Hmm, didn't seem to affect it... question, would even Bin2Hex be
apropriate in this instance? Or would it be better to loop through the
byte array itself and make the hex string per byte? Which leads me to my
next question - how would one accomodate this byte to hex conversion in
cf w/out the b
Try this:
messageDigest = createObject("java","java.security.MessageDigest");
messageDigest = messageDigest.getInstance("MD5");
messageDigest.reset();
messageDigest.update(keyString.getBytes());
HTH,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
in
4 matches
Mail list logo