IPCryptPFXCtx.decryptIPStr

Decrypts an encrypted IP address string with prefix preservation.

struct IPCryptPFXCtx
nothrow @safe
size_t
decryptIPStr
(
scope char[] output
,
scope const(char)[] encryptedIPStr
)

Parameters

output char[]

Buffer to store the decrypted IP string (must be at least IPCRYPT_MAX_IP_STR_BYTES).

encryptedIPStr const(char)[]

The encrypted IP address string.

Return Value

Type: size_t

The length of the decrypted IP string, or 0 on error.

Meta