encrypt_cryptopan
Pseudonymizes fields according to a given method.
Synopsis
Description
Anonymizes IP Addresses using the Crypto-PAn algorithm.
address: ip
The IP Address to anonymize.
seed = str (optional)
A 64-byte seed that describes a hexadecimal value. When the seed is shorter than 64 bytes, the operator will append zeros to match the size; when it is longer, it will truncate the seed.
Example
Anonymize all values of the fields src_ip
and dst_ip
using the
crypto-pan
algorithm and the seed "deadbeef"
: