hugo/docs/content/en/functions/crypto/FNV32a.md
2024-08-09 15:17:43 +02:00

27 lines
633 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: crypto.FNV32a
description: Returns the 32-bit FNV (FowlerNollVo) 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
```