sha1

package
v0.0.0-...-e61308d Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The size of a SHA1 checksum in bytes.
	Size = C.SHA_DIGEST_LENGTH

	// The blocksize of SHA1 in bytes.
	BlockSize = 64
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new sha1 hash.Hash if the returned hash is nil, then make a call to sslerr.Error() to know what went wrong

func Sum

func Sum(b []byte) [Size]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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