Documentation ¶
Overview ¶
Package blake2s implements the BLAKE2s hash algorithm as defined in RFC 7693.
Index ¶
Constants ¶
View Source
const ( // The blocksize of BLAKE2s in bytes. BlockSize = 64 // The hash size of BLAKE2s-256 in bytes. Size = 32 // The hash size of BLAKE2s-128 in bytes. Size128 = 16 )
Variables ¶
This section is empty.
Functions ¶
func New128 ¶
New128 returns a new hash.Hash computing the BLAKE2s-128 checksum given a non-empty key. Note that a 128-bit digest is too small to be secure as a cryptographic hash and should only be used as a MAC, thus the key argument is not optional.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.