blake3_ffi 0.1.2
blake3_ffi: ^0.1.2 copied to clipboard
BLAKE3 hashing for Dart over native FFI, up to 14x faster than SHA-256. One- shot, streaming, keyed (MAC), and key derivation. C auto-compiled at build, no binaries to ship.
0.1.2 #
- Add hex variants for the raw-output paths:
blake3KeyedHex,blake3DeriveKeyHex, andBlake3Hasher.finalizeHex. Keyed, derived, and streamed digests now format to hex the wayblake3Hexalready does, so callers stop re-implementing it (the example used to).
0.1.1 #
- Docs: sharpen the pub.dev description to lead with the value and the terms people search.
0.1.0 #
Initial release, vendoring the official BLAKE3 C implementation 1.8.5.
- One-shot hashing:
blake3,blake3Hex. - Streaming hashing:
Blake3Hasherwithupdate,finalize,reset, anddispose. - Keyed hashing (MAC/PRF):
blake3Keyed,Blake3Hasher.keyed. - Key derivation (KDF):
blake3DeriveKey,Blake3Hasher.deriveKey. - Extendable output (XOF) via
outputLengthandseek. - Native code builds automatically via Dart build hooks (Dart 3.10+); no manual native setup. arm64 uses the NEON kernel; other architectures use the portable C kernel.
- Verified against the official BLAKE3 test vectors (default, keyed, and derive-key modes, extended output, and streaming).