Skip to content
uencoder

BLAKE3

BLAKE3 further optimizes BLAKE2 with binary-tree parallelization; far faster than BLAKE2, it also supports XOF and MAC modes.

Purpose

Delivers extreme performance and parallelization while supporting extendable output and keyed MAC.

Mechanism

Built on the BLAKE2b compression function, using a binary tree to chunk input for parallel processing (each chunk compressed independently, then merged). Output can be any length (XOF). Supports keyed mode (MAC) and key derivation mode (KDF). Default output is 256 bits.

Use cases

  • Ultra-large file hashing
  • Parallel content addressing
  • Bazel build system cache
  • High-performance deduplication

Examples

  • Input
    hello
    Output
    ea48e8b6e1c3c3c3c3c3c3c3c3c3c3c3...

    256-bit default

Common errors

Performance below expectations because parallelism is not exploited
Use tree mode on multi-core environments

Related terms

Related tools

References