hashing

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(key [16]byte) (uint64, uint64)

Types

type IHasher

type IHasher interface {
	Digest(message string) uint64
}

func NewSip24Hasher

func NewSip24Hasher() IHasher

type Sip24Hasher

type Sip24Hasher struct {
	Key0 uint64
	Key1 uint64
}

func (*Sip24Hasher) Digest

func (h *Sip24Hasher) Digest(message string) uint64

Jump to

Keyboard shortcuts

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