pub fn key_commitment(group_key: &[u8; 32], nonce: &[u8; 12]) -> [u8; 16]Expand description
Compute key commitment: keyed_mac(group_key, nonce)[0..16].
Provides a committing property for the AEAD scheme. Receivers check this commitment before attempting decryption, enabling fast rejection of events encrypted under a different group key.