type Digest struct {
// contains filtered or unexported fields
}Digest is a SHA-224 or SHA-256 hash.Hash implementation.
Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4.
type Digest struct {
// contains filtered or unexported fields
}Digest is a SHA-224 or SHA-256 hash.Hash implementation.
func New() *DigestNew returns a new Digest computing the SHA-256 hash.
func New224() *DigestNew224 returns a new Digest computing the SHA-224 hash.
func (d *Digest) AppendBinary(b []byte) ([]byte, error)func (d *Digest) BlockSize() intfunc (d *Digest) MarshalBinary() ([]byte, error)func (d *Digest) Reset()func (d *Digest) Size() intfunc (d *Digest) Sum(in []byte) []bytefunc (d *Digest) UnmarshalBinary(b []byte) errorfunc (d *Digest) Write(p []byte) (nn int, err error)