Documentation ¶
Index ¶
- Variables
- func NewConn(c net.Conn, rnonce, wnonce []byte, rciph, wciph cipher.AEAD) net.Conn
- func NewHandshaker(hash []byte, password []byte) entity.Handshaker
- func NewReader(r io.Reader, nonce []byte, aead cipher.AEAD, maxPayloadSize int) *reader
- func NewWriter(w io.Writer, nonce []byte, aead cipher.AEAD, maxPayloadSize int) *writer
- type Aead
- type Ed25519
- type Hash
- type Signer
Constants ¶
This section is empty.
Variables ¶
View Source
var Chacha20poly1305 = chacha20poly1305Aead{}
View Source
var Sha256 = sha256Hash{}
Functions ¶
func NewHandshaker ¶
func NewHandshaker(hash []byte, password []byte) entity.Handshaker
Types ¶
Click to show internal directories.
Click to hide internal directories.