You need an HMAC signed SHA256 secret. https://en.wikipedia.org/wiki/HMAC https://en.wikipedia.org/wiki/SHA-2 First step is to get the correct SHA256 part then the second step is to make it the correct HMAC Does that help? On 09/30/2012 06:00 PM, sergio_101 wrote:
SHA256 hashMessage: ('test' , 'APIKey') hex
that's what i initially thought.. but the php code they show is a little bit different..
the line that puts it together is: hash_hmac('sha256', $payload, $secret, $raw = true)
in this case:
parameters are: algorithm string to be hashed Shared secret key used for generating the HMAC variant of the message digest. When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits.
so, i think i need to use the apiSecret as the key for encryption..