Documentation
¶
Overview ¶
Package blake2 implements the both hash functions BLAKE2b and BLAKE2s described in RFC 7693. RFC 7693 only specifies BLAKE2 as pure hash and mac function, but BLAKE2 supports also salted (randomized) and personalized hashing. These features are implemented in the blake2b package for BLAKE2b and in the blake2s package for BLAKE2s.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sum160s ¶
Sum160s computes the 160 bit BLAKE2s checksum (or MAC if a key is specified) of msg and saves the sum in out. The key is optional and can be nil.
func Sum256b ¶
Sum256b computes the 256 bit BLAKE2b checksum (or MAC if a key is specified) of msg and saves the sum in out. The key is optional and can be nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.