• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

REXX Function similar to PHPs hash_hmac() function?

Started by RobertM, 2009.08.31, 15:51:52

Previous topic - Next topic

RobertM

Hey all,

I am trying to find a REXX function similar to the hash_hmac() function in PHP.

See: http://us3.php.net/manual/en/function.hash-hmac.php

string hash_hmac  ( string $algo  , string $data  , string $key  [, bool $raw_output = false  ] )



The closest thing I could find was this:
http://www.maazl.de/project/rxmmutl/#MMHash

But it does not allow for data AND a shared secret key (just allows the data to be hashed only). Does anyone have any ideas or is there something I missed or a simple way of using this to do it?

Thanks,
Rob

PS: This is for Amazon's AWS service. Currently I have it working using PHP under OS/2, but am interested in having a REXX solution as well.

PPS: Anyone interested in the PHP code, let me know and I will post it. It's a variant of some other code I found out there for a different Amazon service that I modified for the regular AWS product lookup services.

This is a link to the original code, which works with OTHER Amazon services but not the standard AWS service:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2433


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|