fnv

package
v1.21.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

パッケージfnvは、 Glenn Fowler、Landon Curt Noll、およびPhong Voによって作成された FNV-1およびFNV-1aという非暗号化ハッシュ関数を実装しています。 詳細は、以下を参照してください。 https://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function.

このパッケージによって返されるすべてのhash.Hashの実装も、 encoding.BinaryMarshalerとencoding.BinaryUnmarshalerを実装しています。 これにより、ハッシュの内部状態をマーシャリングおよびアンマーシャリングすることができます。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New128 added in v1.9.0

func New128() hash.Hash

New128は新しい128ビットのFNV-1ハッシュ.Hashを返します。 Sumメソッドは値をビッグエンディアンのバイトオーダーで配置します。

func New128a added in v1.9.0

func New128a() hash.Hash

New128aは新しい128ビットのFNV-1aハッシュを返します。 そのSumメソッドは値をビッグエンディアンのバイト順で配置します。

func New32

func New32() hash.Hash32

New32は新しい32ビットFNV-1ハッシュ.Hashを返します。 そのSumメソッドは値をビッグエンディアンのバイト順で配置します。

func New32a

func New32a() hash.Hash32

New32aは32ビットのFNV-1aハッシュ.Hashを新たに作成します。 そのSumメソッドは値をビッグエンディアンバイト順で表示します。

func New64

func New64() hash.Hash64

New64は新しい64ビットのFNV-1ハッシュのhash.Hashを返します。 そのSumメソッドは値をビッグエンディアンのバイトオーダーで配置します。

func New64a

func New64a() hash.Hash64

New64a は新しい64ビットのFNV-1aハッシュを返します。 そのSumメソッドは値をビッグエンディアンのバイト順序で配置します。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL