package sha1
import "github.com/mmcloughlin/avo/examples/sha1"
Package sha1 implements the SHA-1 hash in avo.
Index ¶
Constants ¶
const BlockSize = 64
BlockSize is the block size of SHA-1 in bytes.
const Size = 20
Size of a SHA-1 checksum in bytes.
Functions ¶
func Sum ¶
Sum returns the SHA-1 checksum of data.
Source Files ¶
- Version
- v0.3.0
- Published
- Oct 30, 2021
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 1 month ago –
Tools for package owners.