package sha256
Import Path
crypto/internal/fips140/sha256 (on go.dev)
Dependency Relation
imports 7 packages, and imported by 8 packages
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
Digest is a SHA-224 or SHA-256 [hash.Hash] implementation.
h [8]uint32
// mark if this digest is SHA-224
len uint64
nx int
x [64]byte
(*Digest) AppendBinary(b []byte) ([]byte, error)
(*Digest) BlockSize() int
(*Digest) MarshalBinary() ([]byte, error)
(*Digest) Reset()
(*Digest) Size() int
(*Digest) Sum(in []byte) []byte
(*Digest) UnmarshalBinary(b []byte) error
(*Digest) Write(p []byte) (nn int, err error)
(*Digest) checkSum() [32]byte
*Digest : crypto/internal/fips140.Hash
*Digest : encoding.BinaryAppender
*Digest : encoding.BinaryMarshaler
*Digest : encoding.BinaryUnmarshaler
*Digest : hash.Hash
*Digest : internal/bisect.Writer
*Digest : io.Writer
*Digest : crypto/internal/fips140/hmac.marshalable
*Digest : crypto/tls.transcriptHash
func New() *Digest
func New224() *Digest
func block(dig *Digest, p []byte)
func blockAMD64(dig *Digest, p []byte)
func blockAVX2(dig *Digest, p []byte)
func blockGeneric(dig *Digest, p []byte)
func blockSHANI(dig *Digest, p []byte)