Reply
Highlighted
Member
Posts: 1
Registered: ‎01-29-2019

SHA512 need an example of valid 30 field message and valid signature and hash result for testing

I am generating a valid SHA512 fingerprint, so I know my code is creating a byte array of the Signature Key and correctly generating the SHA512 hash for that.

 

Now I am trying to validate a relay response for SIM with the 30 field message separated by ^ and I can not get the same hash as x_sha2_hash.

 

What I need is an example of a signature key, 30 field message, and resulting hash so I can test my implementation.

 

 

Highlighted
Contributor
Posts: 17
Registered: ‎12-07-2010

Re: SHA512 need an example of valid 30 field message and valid signature and hash result for testing

I used the example signature key, input string, and hash found here to compare my code to until I got it working: 

 

https://community.developer.authorize.net/t5/Integration-and-Testing/Upgrading-MD5-to-new-hash-SIM/m...