sha

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidHash = errors.New("invalid hash")
)

Functions

This section is empty.

Types

type SHA1

type SHA1 []byte

func ReadHash

func ReadHash(hashString string) (SHA1, error)

func (SHA1) Compare added in v1.9.1

func (s SHA1) Compare(other SHA1) bool

func (SHA1) String

func (s SHA1) String() string

Jump to

Keyboard shortcuts

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