package sha512
Import Path
crypto/sha512 (on golang.org and go.dev)
Dependency Relation
imports 5 packages, and imported by 4 packages
Involved Source Files
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256
hash algorithms as defined in FIPS 180-4.
All the hash.Hash implementations returned by this package also
implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to
marshal and unmarshal the internal state of the hash.
sha512block.go
sha512block_generic.go
Package-Level Type Names (only one, which is unexported)
Package-Level Functions (total 13, in which 8 are exported)
New returns a new hash.Hash computing the SHA-512 checksum.
New384 returns a new hash.Hash computing the SHA-384 checksum.
New512_224 returns a new hash.Hash computing the SHA-512/224 checksum.
New512_256 returns a new hash.Hash computing the SHA-512/256 checksum.
Sum384 returns the SHA384 checksum of the data.
Sum512 returns the SHA512 checksum of the data.
Sum512_224 returns the Sum512/224 checksum of the data.
Sum512_256 returns the Sum512/256 checksum of the data.
Package-Level Variables (only one, which is unexported)
Package-Level Constants (total 43, in which 5 are exported)
BlockSize is the block size, in bytes, of the SHA-512/224,
SHA-512/256, SHA-384 and SHA-512 hash functions.
Size is the size, in bytes, of a SHA-512 checksum.
Size224 is the size, in bytes, of a SHA-512/224 checksum.
Size256 is the size, in bytes, of a SHA-512/256 checksum.
Size384 is the size, in bytes, of a SHA-384 checksum.
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)