The HMAC-SHA256 value is commonly used to sign inputs (such as HTTP requests) with a secret key to ensure they aren’t tampered with in transit.
The hmac-sha256 based “signature” of the text The quick brown fox jumps over the lazy dog
, with the key key
, and encoded using a base64 URL-safe encoding, is:
97yD9DBThCSxMpjmqm-xQ-9NWaFJRhdZl0edvC0aPNg=
What are the equivalent signatures for these inputs? (one input per line, one signature per line):
happen alphabet softly theory
GET /validate HTTP/1.1
f35f1e0d34fbb472dffb6c650c3871b2