IPCrypt Interactive Playground

Try IPCrypt directly in your browser! This interactive playground allows you to encrypt and decrypt IP addresses using the different encryption modes provided by IPCrypt.

Encrypt/Decrypt IP Address

For deterministic and nd modes: 16 bytes (32 hex chars). For ndx mode: 32 bytes (64 hex chars). Default key provided for demonstration.

About This Playground

This playground uses the ipcrypt implementation to perform encryption and decryption operations directly in your browser.

Encryption Modes

  • ipcrypt-deterministic: Format-preserving encryption that always produces the same output for the same input and key. Requires a 16-byte (32 hex chars) key.
  • ipcrypt-pfx: Prefix-preserving encryption that maintains network structure. Addresses from the same subnet share encrypted prefixes. Requires a 32-byte (64 hex chars) key with different halves.
  • ipcrypt-nd: Non-deterministic encryption using KIASU-BC with an 8-byte tweak. Requires a 16-byte (32 hex chars) key and produces a 24-byte output.
  • ipcrypt-ndx: Non-deterministic encryption using AES-XTS with a 16-byte tweak. Requires a 32-byte (64 hex chars) key and produces a 32-byte output.

For more information about the encryption modes and their properties, see the IPCrypt specification.