mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +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,
|
ns.AddMethodMapping(ctx.HMAC,
|
||||||
[]string{"hmac"},
|
[]string{"hmac"},
|
||||||
[][2]string{
|
[][2]string{
|
||||||
|
Reference in New Issue
Block a user