blake3pp

A BLAKE3 implementation in modern C++ that hashes from memory and from files.

https://github.com/pysco68/blake3pp

blake3pp is a BLAKE3 implementation in modern C++ that hashes from memory and from files. It aims to be as fast as possible while staying clean: std::execution for parallelism, std::simd for the kernels, direct I/O for files, and no assembly or intrinsics where they can be avoided. It targets C++26 and ships today on most C++20 toolchains through polyfills.

It covers the whole BLAKE3 specification: plain, keyed and derive_key hashing, each with output of any length. The release includes two command-line tools: blake3ppsum, which works like sha256sum but exposes every BLAKE3 mode, and blake3ppgen, which generates deterministic, seekable test data.

Documentation, with a version for every release: pysco68.github.io/blake3pp.

Posts

Watching BLAKE3 run

An interactive walk through BLAKE3, built with an AI coding agent while I sat in a CppCon talk about writing C++ with AI: the C++ kernel executing statement by statement, the tree filling in, and the same walk sixteen lanes wide.

Five weeks to CppCon

An intro to the blog series about blake3pp, my C++ implementation of the BLAKE3 hash function: where it came from, what the series is about, and the vocabulary the later parts use.