hasher

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher struct {
	// contains filtered or unexported fields
}

Hasher generates a unique, consistent ID for a pair of addresses.

func NewHasher

func NewHasher(idKey []byte) *Hasher

func (*Hasher) Hash

func (h *Hasher) Hash(localAddr, remoteAddr netip.AddrPort) string

Jump to

Keyboard shortcuts

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