mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
tpl/crypto: Add example for FNV32a
This commit is contained in:
@@ -51,6 +51,13 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.FNV32a,
|
||||
nil,
|
||||
[][2]string{
|
||||
{`{{ crypto.FNV32a "Hugo Rocks!!" }}`, `1515779328`},
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.HMAC,
|
||||
[]string{"hmac"},
|
||||
[][2]string{
|
||||
|
Reference in New Issue
Block a user