IPCrypt2.ndEncryptIP16

Non-deterministic encryption of a 16-byte IP address.

struct IPCrypt2
nothrow @nogc @trusted
ubyte[IPCRYPT_NDIP_BYTES]
ndEncryptIP16
(
scope const(ubyte)* ip16
,
scope const(ubyte)* random
)

Parameters

ip16 const(ubyte)*

The 16-byte IP address to encrypt.

random const(ubyte)*

8-byte random data for non-determinism.

Return Value

Type: ubyte[IPCRYPT_NDIP_BYTES]

The 24-byte encrypted IP address.

Meta