//
pkg.gl
Category
Standard library
crypto
sha256
package
1.24.4
Repository:
https://pkg.go.dev/std
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
71.2k
Files
45 SLOC
#
Functions
New
New returns a new [hash.Hash] computing the SHA256 checksum.
New224
New224 returns a new [hash.Hash] computing the SHA224 checksum.
Sum224
Sum224 returns the SHA224 checksum of the data.
Sum256
Sum256 returns the SHA256 checksum of the data.
#
Constants
BlockSize
The blocksize of SHA256 and SHA224 in bytes.
Size
The size of a SHA256 checksum in bytes.
Size224
The size of a SHA224 checksum in bytes.