filter

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloomRing added in v0.3.0

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

BloomRing is a salt filter used to mitigate replay attacks by detecting repeated salts.

func NewBloomRing added in v0.3.0

func NewBloomRing() *BloomRing

func (*BloomRing) AddSalt added in v0.3.0

func (r *BloomRing) AddSalt(salt []byte)

func (*BloomRing) IsSaltRepeated added in v0.3.0

func (r *BloomRing) IsSaltRepeated(salt []byte) bool

Jump to

Keyboard shortcuts

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