The Go Programming Language

Package sha1

import "crypto/sha1"

Package sha1 implements the SHA1 hash algorithm as defined in RFC 3174.

Package files

sha1.go sha1block.go

Constants

The size of a SHA1 checksum in bytes.

const Size = 20

func New

func New() hash.Hash

New returns a new hash.Hash computing the SHA1 checksum.

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.