NoiseSettings.privateKey

Private key in memory.

Warning: When using this overload, make sure to use secure memory. The memory should be cleared after the createNoiseStream call returns.

The privateKeyPath allows for a simpler, secure API.

struct NoiseSettings
const(ubyte)[] privateKey;

Meta