Constructs an IPCrypt2 with the given 16-byte key.
Ditto, but constructs from a hexadecimal key string.
Destructor ensures the IPCrypt context is cleaned up.
Decrypts a 16-byte IP address (IPv4 or IPv6).
Decrypts an encrypted IP address string.
Encrypts a 16-byte IP address (IPv4 or IPv6).
Encrypts an IP address string (IPv4 or IPv6).
Non-deterministic decryption of a 24-byte encrypted IP address.
Non-deterministic decryption of an encrypted IP address string.
Non-deterministic encryption of a 16-byte IP address.
Non-deterministic encryption of an IP address string.
IPCrypt context, providing encryption/decryption of IP addresses. Ensures proper initialization and cleanup of the underlying IPCrypt context.