amazon simpledb - Computing an HMAC-SHA signature -
i'm writing module amazon's simpledb. require rest requests signed using hmac-sha algorithm. (details here.)
i'm told there function computer signature, can't find in documentation. function called, , arguments like?
edited: following should work:
pre { message = "four score , 7 years ago"; key = "abe lincoln"; signature = math:hmac_sha256_base64(message, key); } notify("signature is", signature); the function math:hmac_sha256_base64(<datastring>,<keystring>)
Comments
Post a Comment