× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



HMAC is not just an MD5 hash. Go to
http://www.freeformatter.com/hmac-generator.html to see a web site that
will match up with the example you are given.
https://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/q
c3calhm.htm is documentation on the iSeries function that calculates
one.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jack Tucky
Sent: Tuesday, December 29, 2015 3:17 PM
To: Midrange Systems Technical Discussion
Subject: Re: Md5 Hash

The sample code provided by the website is PHP. It uses hash_hmac.

My RPG code running on my i matches miraclesalad and other websites, but
doesn't match the knowledge base example.


On Tue, Dec 29, 2015 at 3:10 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Tue, Dec 29, 2015 at 2:51 PM, Jack Tucky <jacktucky@xxxxxxxxx>
wrote:
After some more googling it looks like the QDCXLATE is old. I
changed it
to
iConv and now I'm getting the same results as the web sites.

Same results as which sites? You mentioned a total of three sites: (1)

the one you need to communicate with; (2) the little MD5 app on
Miracle Salad; and (3) the one with the sample RPG code.

Now to figure out what the PHP code is doing differently.

Whoa there. When did PHP enter the picture? The only PHP that I can
see that you mentioned is the Miracle Salad site (and only then by
virtue of its URL). If you've found out how to get the desired result
(i.e. the one that counts), then anything else is an academic
exercise.

(Not that I mind academic exercises. I usually enjoy them, actually.)

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing

list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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