02-18-2019 08:32 AM
Hello everyone, I ask you for help, do you have a vi to carry out the coding HMAC-SHA256 ??
I found this resource: https://github.com/gb119/LabVIEW-Bits/tree/master/Cryptographic%20Services/SHA256
The file is: HMAC-SHA256.vi but that needs its library SHA256.lvlib, which is not downloadable.
Thank you
02-18-2019 08:49 AM
02-18-2019 09:30 AM - edited 02-18-2019 09:33 AM
OK, now I managed to run the VI but the result is different from the correct one 😞
How can I calculate an RFC 2104-compliant HMAC with the SHA256, can you help me get that signature from the example?
Product Advertising API REST requests of Amazon.com
- String To sign:
GET webservices.amazon.com /onca/xml AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&AssociateTag=mytag-20&ItemId=0679722769&Operation=ItemLookup&ResponseGroup=Images%2CItemAttributes%2COffers%2CReviews&Service=AWSECommerceService&Timestamp=2014-08-18T12%3A00%3A00Z&Version=2013-08-01
- secret key: 1234567890
Signature correct: j7bZM0LXZ9eXeZruTqWm2DIvDYVUU3wxPPpp%2BiXxzQc%3D
SOS
Thank You!