hashlist

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHash

func DeleteHash(list [][]byte, hash []byte) ([][]byte, error)

DeleteHash deletes hash from list

func Difference

func Difference(a, b [][]byte) ([][]byte, error)

SymmetricDifference returns list difference A - B

func Exist

func Exist(list [][]byte, hash []byte) bool

func SymmetricDifference

func SymmetricDifference(a, b [][]byte) ([][]byte, [][]byte, error)

SymmetricDifference returns list difference A - B, B - A, error if A or B has non-unique element

Types

This section is empty.

Jump to

Keyboard shortcuts

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