we (web engine): Experimental web browser project to understand the limits of Claude

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>


+444
2 changed files