HUGO
Menu
GitHub 90426 stars Mastodon

crypto.SHA1

Returns the SHA1 checksum of the given input, encoded to a hexadecimal string.
Syntax
crypto.SHA1 INPUT
Returns
string
Alias
sha1

Usage

The crypto.SHA1 function returns the SHA1 checksum of the given input, encoded to a hexadecimal string.

Examples

{{ crypto.SHA1 "Hello world" }} → 7b502c3a1f48c8609ae212cdfb639dee39673f5e