hmac-generator
Generate HMAC (Hash-based Message Authentication Code) using a message, secret key, and hash algorithm (SHA1, SHA256, SHA512) to verify data integrity and authenticity.
Instructions
Generate HMAC (Hash-based Message Authentication Code)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
algorithm | No | Hash algorithm | |
key | Yes | Secret key for HMAC | |
message | Yes | Message to authenticate |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"algorithm": {
"description": "Hash algorithm",
"enum": [
"sha1",
"sha256",
"sha512"
],
"type": "string"
},
"key": {
"description": "Secret key for HMAC",
"type": "string"
},
"message": {
"description": "Message to authenticate",
"type": "string"
}
},
"required": [
"message",
"key"
],
"type": "object"
}