hashers

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHashMismatch = errors.New("hash mismatch")

Functions

This section is empty.

Types

type SHA512

type SHA512 struct{}

func (*SHA512) Compare

func (h *SHA512) Compare(ctx context.Context, hash, data []byte) error

func (*SHA512) Hash

func (h *SHA512) Hash(_ context.Context, data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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