package sha256
Import Path
crypto/internal/fips140/sha256 (on go.dev)
Dependency Relation
imports 7 packages, and imported by 9 packages
Involved Source Files
cast.go
Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined
in FIPS 180-4.
sha256block.go
sha256block_amd64.go
sha256block_amd64.s
Package-Level Type Names (only one)
Digest is a SHA-224 or SHA-256 [hash.Hash] implementation.
(*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 : crypto/internal/fips140.Hash
*Digest : encoding.BinaryAppender
*Digest : encoding.BinaryMarshaler
*Digest : encoding.BinaryUnmarshaler
*Digest : hash.Hash
*Digest : internal/bisect.Writer
*Digest : io.Writer
func New() *Digest
func New224() *Digest
Package-Level Functions (total 2)
New returns a new Digest computing the SHA-256 hash.
New224 returns a new Digest computing the SHA-224 hash.
The pages are generated with Golds v0.7.3-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |