encrypt_cryptopan
Encrypts an IP address via Crypto-PAn.
Synopsis
Description
The encrypt_cryptopan
function encrypts the IP address
using the
Crypto-PAn algorithm.
address: ip
The IP address to encrypt.
seed = string (optional)
A 64-byte seed that describes a hexadecimal value. When the seed is shorter than 64 bytes, the function appends zeros to match the size; when it is longer, it truncates the seed.