Go Home Page
The Go Programming Language

Package sha256

import "crypto/sha256"

This package implements the SHA256 hash algorithm as defined in FIPS 180-2.

Package files

sha256.go sha256block.go

Constants

The size of a SHA256 checksum in bytes.

const Size = 32

func New

func New() hash.Hash

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