Open sourcing Winterfell: A STARK prover and verifier
Winterfell is a general-purpose STARK prover and verifier written in Rust and published as v0.1 on crates.io, aimed at making computational-integrity and zero-knowledge proofs usable without deep cryptographic expertise. STARKs need only a collision-resistant hash function, so they require no trusted setup and are plausibly post-quantum secure, and proof generation parallelizes well across CPU cores. Users describe their computation as an algebraic intermediate representation (AIR): a Fibonacci example takes under 100 lines, and hash-based signature aggregation about 600. The library ships as modular crates, including a reusable FRI low-degree-testing implementation, and Meta plans to distribute proof generation across multiple machines.
Related posts
- 🤗 Kernels: Major Updates
Hugging Face mediumAdeptHugging Face's Kernels project, which packages and distributes custom GPU kernels via the Hub, now has a dedicated "kernel" repository type and several security layers on top of Nix-based reproducible builds. By default only kernels from trusted publishers load, with an explicit trust_remote_code opt-in for others, and Sigstore cosign signing with ephemeral keys tied to trusted GitHub workflows (verification is not yet enforced at load time). Other changes include separate kernels and kernel-builder CLIs designed to be easy for agents to drive, Torch Stable ABI and Apache TVM FFI support, and compatibility-checking APIs. A segfault-causing libstdc++ global-initialization conflict was fixed by switching from static linking to dynamic linking with the official manylinux_2_28 toolchain.
- More Than 2x Faster Hashing in ClickHouse Using Rust
ClickHouse mediumAdept
ClickHouse added optional Rust library support to its C++/CMake build using Corrosion-rs, with BLAKE3 as the first library, exposed to C++ through a Rust shim function using C-compatible FFI types and a header file. BLAKE3 hashes more than 2x faster than SHA224/SHA256 and slightly faster than MD5, while staying secure and resistant to length extension. Perf flamegraphs show the shim's type conversion costs about 1.15% of query time. Integration hurdles included MemorySanitizer false positives on Rust memory, fixed with __msan_unpoison and explicit byte conversion, plus cross-platform linking, with aarch64-darwin still unsupported. The integration also had to stay optional, statically linked, cross-compilable and compatible with sanitizers.
- 5 Things you didn’t know about Buck2
Meta Engineering easyNoviceBuck2, Meta's open-source successor to the Buck build system, completes builds roughly 2x faster than Buck1 in internal tests. Its core is written in Rust, chosen over Java, Haskell and Go for performance, memory control without GC over large graphs, and safe concurrency, while rules are written in Starlark. With remote execution it can skip downloading intermediate outputs by tracking only their hashes. It uses 11 distinct path types for type safety, keeps all language knowledge out of the core in a replaceable Starlark prelude, and offers BXL for querying the build graph and defining new actions, for example to generate IDE projects.
- Signal Protocol and Post-Quantum Ratchets
Signal hardMaster
Signal adds the Sparse Post Quantum Ratchet (SPQR), a continuously advancing ML-KEM-based ratchet whose output is mixed with the existing Double Ratchet to form a "Triple Ratchet". It extends quantum resistance beyond PQXDH's session handshake to forward secrecy and post-compromise security. KEM key exchange needs ordered, asymmetric messages, and ML-KEM 768 keys and ciphertexts each exceed 1000 bytes versus 32 for ECDH. SPQR handles this with a state machine that coordinates encapsulation-key and ciphertext exchange, and with erasure-coded chunks spread across messages. The chunking keeps message sizes small and uniform and tolerates loss, reordering and offline peers. It also forces an attacker who wants to block key agreement into an obvious denial of service. Rollout requires no user action.
- Open-sourcing Anonymous Credential Service
Meta Engineering hardMasterAnonymous Credential Service (ACS) lets clients authenticate without revealing identity by splitting authentication into token issuance over an authenticated channel and token redemption over a de-identified channel, using verifiable oblivious pseudorandom functions (VOPRFs) and blind signatures. Running it at scale requires capped redemption counts, frequent key rotation, and key transparency. Attribute-based key derivation, for example deriving keys per use case and time epoch from a single primary public key, plus discrete-log proofs stop a malicious server from assigning user-specific keys. The open-sourced C library depends only on libsodium, supports Ed25519 and Ristretto, recommends SDHI or Naor-Reingold KDFs, and ships with a Thrift-based demo service.