package sha512
Import Path
crypto/internal/fips140/sha512 (on go.dev)
Dependency Relation
imports 7 packages, and imported by 7 packages
Involved Source Files
cast.go
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256
hash algorithms as defined in FIPS 180-4.
sha512block.go
sha512block_amd64.go
sha512block_amd64.s
Package-Level Type Names (only one)
Digest is a SHA-384, SHA-512, SHA-512/224, or SHA-512/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 New384() *Digest
func New512_224() *Digest
func New512_256() *Digest
Package-Level Functions (total 4)
New returns a new Digest computing the SHA-512 hash.
New384 returns a new Digest computing the SHA-384 hash.
New512_224 returns a new Digest computing the SHA-512/224 hash.
New512_256 returns a new Digest computing the SHA-512/256 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. |