Expand description
Crypto-PAn prefix-preserving IP address anonymization.
Implements the algorithm by Xu, Fan, Ammar & Moon (2002) using AES-128 as the underlying block cipher. Two addresses sharing a k-bit network prefix are guaranteed to share a k-bit prefix after anonymization.
§Key format
The 32-byte key is split into:
- bytes
[0..16]: AES-128 encryption key - bytes
[16..32]: padding material used as the initial cipher input
Structs§
- Crypto
Pan - Crypto-PAn anonymizer backed by AES-128.