Imports #
"crypto"
"crypto/internal/boring"
"crypto/internal/fips140/sha512"
"hash"
"crypto"
"crypto/internal/boring"
"crypto/internal/fips140/sha512"
"hash"
BlockSize is the block size, in bytes, of the SHA-512/224, SHA-512/256, SHA-384 and SHA-512 hash functions.
const BlockSize = 128
Size is the size, in bytes, of a SHA-512 checksum.
const Size = 64
Size224 is the size, in bytes, of a SHA-512/224 checksum.
const Size224 = 28
Size256 is the size, in bytes, of a SHA-512/256 checksum.
const Size256 = 32
Size384 is the size, in bytes, of a SHA-384 checksum.
const Size384 = 48
New returns a new [hash.Hash] computing the SHA-512 checksum. The Hash also implements [encoding.BinaryMarshaler], [encoding.BinaryAppender] and [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal state of the hash.
func New() hash.Hash
New384 returns a new [hash.Hash] computing the SHA-384 checksum. The Hash also implements [encoding.BinaryMarshaler], [encoding.BinaryAppender] and [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal state of the hash.
func New384() hash.Hash
New512_224 returns a new [hash.Hash] computing the SHA-512/224 checksum. The Hash also implements [encoding.BinaryMarshaler], [encoding.BinaryAppender] and [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal state of the hash.
func New512_224() hash.Hash
New512_256 returns a new [hash.Hash] computing the SHA-512/256 checksum. The Hash also implements [encoding.BinaryMarshaler], [encoding.BinaryAppender] and [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal state of the hash.
func New512_256() hash.Hash
Sum384 returns the SHA384 checksum of the data.
func Sum384(data []byte) [Size384]byte
Sum512 returns the SHA512 checksum of the data.
func Sum512(data []byte) [Size]byte
Sum512_224 returns the Sum512/224 checksum of the data.
func Sum512_224(data []byte) [Size224]byte
Sum512_256 returns the Sum512/256 checksum of the data.
func Sum512_256(data []byte) [Size256]byte
func init()
Generated with Arrow