OpenTTD Source
20241125-master-g5b02f51e17
|
Container for a X25519 nonce that is automatically crypto-wiped when destructed. More...
#include <network_crypto_internal.h>
Public Member Functions | |
~X25519Nonce () | |
Ensure the nonce does not get leaked when we're done with it. | |
Static Public Member Functions | |
static X25519Nonce | CreateRandom () |
Create a new nonce that's filled with random bytes. More... | |
Container for a X25519 nonce that is automatically crypto-wiped when destructed.
Definition at line 40 of file network_crypto_internal.h.
|
static |
Create a new nonce that's filled with random bytes.
Definition at line 167 of file network_crypto.cpp.
References RandomBytesWithFallback().