Variable 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.
Private key in memory.
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.