BLAKE2 is a cryptographic hash function that is faster than MD5, SHA-1, SHA-2, and SHA-3, yet is at least as secure as the latest standard SHA-3.
Generate a BLAKE2 hash from text input
Generate a BLAKE2 hash from a file
BLAKE2 is a cryptographic hash function designed as a replacement for the widely used but aging MD5 and SHA-1 algorithms. It was designed by Jean-Philippe Aumasson, Samuel Neves, Zooko Wilcox-O'Hearn, and Christian Winnerlein.
BLAKE2 is based on the ChaCha stream cipher and uses an internal state of 16 words. The compression function mixes the input message with the internal state through a series of addition, XOR, and rotation operations. The algorithm processes the input in blocks and updates the internal state for each block.
The BLAKE2 algorithm can be used with an optional key, turning it into a MAC (Message Authentication Code). When used with a key, BLAKE2 provides both integrity and authenticity verification.