Re: MD5 Hmac - What am I missing here?

2005-10-06 Thread Short Fuse Media
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

RE: MD5 Hmac - What am I missing here?

2005-10-06 Thread Figy, Kam
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,

Re: MD5 Hmac - What am I missing here?

2005-10-05 Thread Short Fuse Media
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

Re: MD5 Hmac - What am I missing here?

2005-10-05 Thread Howie Hamlin
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