mirror of https://github.com/gohugoio/hugo
28 lines
633 B
Markdown
28 lines
633 B
Markdown
---
|
||
title: crypto.FNV32a
|
||
description: Returns the 32-bit FNV (Fowler–Noll–Vo) non-cryptographic hash of the given string.
|
||
categories: []
|
||
keywords: []
|
||
action:
|
||
aliases: []
|
||
related:
|
||
- functions/hash/Xxhash
|
||
- functions/crypto/HMAC
|
||
- functions/crypto/MD5
|
||
- functions/crypto/SHA1
|
||
- functions/crypto/SHA256
|
||
returnType: int
|
||
signatures: [crypto.FNV32a STRING]
|
||
expiryDate: 2025-07-31 # deprecated 2024-07-31
|
||
---
|
||
|
||
{{% deprecated-in 0.129.0 %}}
|
||
Use [`hash.FNV32a`] instead.
|
||
|
||
[`hash.FNV32a`]: /functions/hash/FNV32a/
|
||
{{% /deprecated-in %}}
|
||
|
||
```go-html-template
|
||
{{ crypto.FNV32a "Hello world" }} → 1498229191
|
||
```
|