go2hx

manual

github

Module: stdgo.hash.fnv

(view library index)

Overview

Index

Classes

import

class Fnv

Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions
    created by Glenn Fowler, Landon Curt Noll, and Phong Vo.
    See
    https://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function.

All the hash.Hash implementations returned by this package also implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.

Fnv function new128

function new128():stdgo._internal.hash.Hash
New128 returns a new 128-bit FNV-1 hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Fnv function new128a

function new128a():stdgo._internal.hash.Hash
New128a returns a new 128-bit FNV-1a hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Fnv function new32

function new32():stdgo._internal.hash.Hash32
New32 returns a new 32-bit FNV-1 hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Fnv function new32a

function new32a():stdgo._internal.hash.Hash32
New32a returns a new 32-bit FNV-1a hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Fnv function new64

function new64():stdgo._internal.hash.Hash64
New64 returns a new 64-bit FNV-1 hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Fnv function new64a

function new64a():stdgo._internal.hash.Hash64
New64a returns a new 64-bit FNV-1a hash.Hash.
        Its Sum method will lay the value out in big-endian byte order.

(view code)

Typedefs

import

typedef T_sum128

typedef T_sum128 = stdgo._internal.hash.fnv.T_sum128;

typedef T_sum128a

typedef T_sum128a = stdgo._internal.hash.fnv.T_sum128a;

typedef T_sum32

typedef T_sum32 = stdgo._internal.hash.fnv.T_sum32;

typedef T_sum32a

typedef T_sum32a = stdgo._internal.hash.fnv.T_sum32a;

typedef T_sum64

typedef T_sum64 = stdgo._internal.hash.fnv.T_sum64;

typedef T_sum64a

typedef T_sum64a = stdgo._internal.hash.fnv.T_sum64a;