Files
hugo/content/functions/sha.md
T
Bud Parr 7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05:00

783 B

title, description, godocref, date, publishdate, lastmod, categories, menu, tags, ns, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
title description godocref date publishdate lastmod categories menu tags ns signature workson hugoversion relatedfuncs deprecated aliases
sha Hashes the given input and returns either an SHA1 or SHA256 checksum. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
sha
checksum
sha1 INPUT
sha256 INPUT
false

sha1 hashes the given input and returns its SHA1 checksum.

{{ sha1 "Hello world, gophers!" }}
<!-- returns the string "c8b5b0e33d408246e30f53e32b8f7627a7a649d4" -->

sha256 hashes the given input and returns its SHA256 checksum.

{{ sha256 "Hello world, gophers!" }}
<!-- returns the string "6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46" -->