hasher

package
v1.0.0-test.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Return

func Return(h *Hasher)

Types

type HashType

type HashType uint32
const (
	SHA1 HashType = 0x10
)

type Hasher

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

func NewHash

func NewHash() *Hasher

func NewHasher

func NewHasher(ht HashType) *Hasher

func (*Hasher) Hash

func (h *Hasher) Hash(msg []byte) (hash []byte, err error)

Jump to

Keyboard shortcuts

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