title |
linktitle |
description |
godocref |
date |
publishdate |
lastmod |
categories |
menu |
keywords |
signature |
workson |
hugoversion |
relatedfuncs |
deprecated |
aliases |
hmac |
hmac |
Compute the cryptographic checksum of a message. |
|
2020-05-29 |
2020-05-29 |
2020-05-29 |
|
|
|
hmac HASH_TYPE KEY MESSAGE |
|
|
|
|
false |
|
hmac
returns a cryptographic hash that uses a key to sign a message.
{{ hmac "sha256" "Secret key" "Hello world, gophers!"}},
<!-- returns the string "b6d11b6c53830b9d87036272ca9fe9d19306b8f9d8aa07b15da27d89e6e34f40"
Supported hash functions: