hash

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MD5    = "md5"
	SHA1   = "sha1"
	SHA256 = "sha256"
	SHA512 = "sha512"
)

Variables

This section is empty.

Functions

func New

func New(alg string) (hash.Hash, error)

Types

type ErrUnknownHash

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

func (*ErrUnknownHash) Error

func (e *ErrUnknownHash) Error() string

Jump to

Keyboard shortcuts

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