hash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(ctx context.Context, reader io.Reader, algorithm HashingAlgo) ([]byte, error)

Types

type HashingAlgo

type HashingAlgo int
const (
	SHA256 HashingAlgo = iota
	BLAKE3
	XXH64
)

func ParseHashingAlgo

func ParseHashingAlgo(s string) (HashingAlgo, error)

func (HashingAlgo) String

func (h HashingAlgo) String() string

Jump to

Keyboard shortcuts

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