Go Home Page
The Go Programming Language

Package sha1

import "crypto/sha1"

This package 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.