Documentation ¶
Overview ¶
sec is an implementation of Noise_IK_25519_ChaChaPoly_BLAKE2b protocol.
Trevor Perrin. 2016. The Noise Protocol Framework. https://noiseprotocol.org/noise.pdf
Noise test vectors can be found at https://raw.githubusercontent.com/centromere/cacophony/master/vectors/cacophony.txt
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AEAD ¶
type AEAD interface { Seal(dst []byte, nonce uint64, plaintext, additionalData []byte) []byte Open(dst []byte, nonce uint64, ciphertext, additionalData []byte) ([]byte, error) }
See The CipherState object section of Noise. This implementation delegates nonce concerns to the user.
Click to show internal directories.
Click to hide internal directories.