Provide a delegate of this types to verify the public key of the node connected to.
Exception thrown when authentication in createNoiseStream failed.
Exception thrown on internal errors.
Wraps a normal Stream to add encryption based on the Noise_XX_25519_ChaChaPoly_BLAKE2b protocol.
Kind of NoiseStream.
Create a public/private keypair to be used with createNoiseStream.
Create a noise encrypted stream on top of a normal stream.
Convert key from hex to binary format.
Convert key from binary to hex format.
Reads a public key file writen by createKeys.
Key size of public and private keys.
Settings for the connectNoiseStream function.