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'

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

here is the result:

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

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


John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.