IPCrypt2 C bindings
Converts a 16-byte IP address to a sockaddr_storage.
Converts a 16-byte IP address to a string.
Converts an IP address string to a 16-byte representation.
Converts a sockaddr to a 16-byte IP address.
IPCrypt context, providing encryption/decryption of IP addresses. Ensures proper initialization and cleanup of the underlying IPCrypt context.
IPCryptNDX context, providing extended encryption/decryption. Ensures proper initialization and cleanup of the underlying IPCryptNDX context.
D bindings for IPCrypt2, a simple and secure IP address obfuscation scheme.
IPCrypt2 is a format-preserving encryption scheme for IPv4 and IPv6 addresses. It allows IP addresses to be encrypted while maintaining their format, making it suitable for logging and data retention purposes where IP addresses need to be pseudonymized.
Features