Skip to main content

Module reference

Module reference 

Source
Expand description

BLAKE2b reference implementation

This module provides a pure Rust implementation of BLAKE2b following RFC 7693. It serves as a reference for the circuit implementation and testing.

Functionsยง

blake2b
BLAKE2b hash function with variable output length
blake2b_256
BLAKE2b-256: Fixed 256-bit (32-byte) output variant
bytes_to_words
Convert bytes to 64-bit words (little-endian)
compress
BLAKE2b compression function F
g
G mixing function - the core primitive of BLAKE2b