Documentation ¶
Overview ¶
Package sha256 implements the SHA224 and SHA256 hash algorithms in FIPS 180-2.
Index ¶
Constants ¶
View Source
const ( // The size of a SHA256 checksum in bytes. Size = C.SHA256_DIGEST_LENGTH // The size of a SHA224 checksum in bytes. Size224 = C.SHA224_DIGEST_LENGTH // The blocksize of SHA256 and SHA224 in bytes. BlockSize = 64 )
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a new sha256 hash.Hash if the returned hash is empty, then make a call to sslerr.Error()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.