Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
Implement HMAC: keyed-hash message authentication code (RFC 2104) master
Add pure Rust HMAC implementation in the crypto crate, generic over hash function via a HashFunction trait: - HMAC-SHA-256, HMAC-SHA-384, HMAC-SHA-512 - Streaming API: new(key), update(&[u8]), finalize() -> Vec<u8> - One-shot: hmac_sha256(), hmac_sha384(), hmac_sha512() - Key handling: long keys hashed, short keys zero-padded - Inner/outer padding (ipad/opad) per RFC 2104 §2 - 25 tests including all RFC 4231 test vectors (cases 1-7) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Pierre Le Fevre Co-author Claude Opus 4.6 Date (Mar 6, 2026, 6:29 AM UTC) Commit 5dd500fb 5dd500fb583ea11ef74e4709faf91b2c050b5ac9 Parent 0fc095c9 0fc095c9cf4f9a107aadaa4fb0c28592591c5bb6