On Wed, Dec 30, 2015 at 3:49 PM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:
Here is how I call the program for testing:

call hash6r parm('HCO-LAKEW-938^220568^1451497815^250^USD'
'mJpSl0hTtf71gdV6kAdf')

OK, so you're trying a new "message" with the same key...

here is the result:
36D2B29365D6F1DFD287A31CCE52EC2333

That's pretty weird, all right. It's the wrong length.

The correct result, per
http://www.freeformatter.com/hmac-generator.html#ad-output is
a4550a8c73a5e59e94720623ffb5f2b77727a07b

No, the above is an HMAC-SHA1 hash. (Easy to make that mistake, since
that page defaults to SHA1.) If you are still trying to get HMAC-MD5,
what you really want is

eb16f77acca659824847c259d11a01ed

John Y.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].