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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -