cryptkit 0.1.1

Cryptographic primitives for Rust: HMAC-SHA256, AES-GCM, constant-time comparison, and secure random with zeroize
Documentation
1
2
3
4
5
6
7
8
9
10
# Equivalent mutants — cryptkit cargo-mutants baseline (2026-09-09)

## src/aes.rs:98:23 — replace `<` with `<=` in AesGcmEncryptor::decrypt
For input length exactly 12 (nonce with no ciphertext/tag), the original
falls through to the AEAD decrypt, which rejects it (tag missing); the
mutant rejects it one step earlier via the length guard. Both return
`Err(AesError::Decrypt(_))` — the only divergence is the embedded message
string ("data too short" vs the aead crate's error text). No caller can
observe a behavioral difference without matching on the message text, and
pinning the aead crate's error string would be brittle. Equivalent.