{"category":"encoding","endpoint":"https://setget.net/v1/tools/hmac","examples":[{"input":{"key":"Jefe","message":"what do ya want for nothing?"},"output":{"algorithm":"sha256","bits":256,"text":"5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843"}},{"input":{"algorithm":"sha1","key":"6b6579","key_encoding":"hex","message":"The quick brown fox jumps over the lazy dog"},"output":{"algorithm":"sha1","bits":160,"text":"de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9"},"title":"A hex key with SHA-1"}],"input_schema":{"additionalProperties":false,"properties":{"algorithm":{"default":"sha256","description":"The hash function to use.","enum":["md5","sha1","sha256","sha384","sha512","sha3-256","blake2b"],"type":"string"},"key":{"description":"The secret key. Use a test key here, never a production secret.","examples":["Jefe"],"maxLength":10000,"type":"string"},"key_encoding":{"default":"text","description":"How the key is written: plain text (UTF-8), hex digits or base64.","enum":["text","hex","base64"],"type":"string"},"message":{"description":"The message to sign.","examples":["what do ya want for nothing?"],"maxLength":1000000,"type":"string"},"output":{"default":"hex","description":"How to write the result.","enum":["hex","base64"],"type":"string"}},"required":["message","key"],"type":"object"},"keywords":["hmac","hmac sha256","hmac generator","signature","webhook signature","message authentication","hmac sha1","sign message"],"related":["hash","hash-all","jwt-decode","base64"],"slug":"hmac","summary":"Compute an HMAC signature of a message with a secret key, as hex or base64.","tier":"inline","title":"HMAC generator","url":"https://setget.net/tools/hmac"}
