Documentation ¶
Overview ¶
Package sha512 implements the SHA384 and SHA512 hash algorithms as defined in FIPS 180-2.
Index ¶
Constants ¶
View Source
const BlockSize = 128
The blocksize of SHA512 and SHA384 in bytes.
View Source
const Size = 64
The size of a SHA512 checksum in bytes.
View Source
const Size384 = 48
The size of a SHA384 checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() crypto.ResumableHash
New returns a new crypto.ResumableHash computing the SHA512 checksum.
func New384 ¶
func New384() crypto.ResumableHash
New384 returns a new crypto.ResumableHash computing the SHA384 checksum.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.