Documentation ¶
Overview ¶
Package blake2b implements the BLAKE2b hash algorithm as defined in RFC 7693.
Index ¶
Constants ¶
View Source
const ( // The blocksize of BLAKE2b in bytes. BlockSize = 128 // The hash size of BLAKE2b-512 in bytes. Size = 64 // The hash size of BLAKE2b-384 in bytes. Size384 = 48 // The hash size of BLAKE2b-256 in bytes. Size256 = 32 )
Variables ¶
This section is empty.
Functions ¶
func New256 ¶
New256 returns a new hash.Hash computing the BLAKE2b-256 checksum. A non-nil key turns the hash into a MAC. The key must between zero and 64 bytes long.
func New384 ¶
New384 returns a new hash.Hash computing the BLAKE2b-384 checksum. A non-nil key turns the hash into a MAC. The key must between zero and 64 bytes long.
func New512 ¶
New512 returns a new hash.Hash computing the BLAKE2b-512 checksum. A non-nil key turns the hash into a MAC. The key must between zero and 64 bytes long.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.