Documentation ¶
Index ¶
- Variables
- func GetAuth(password []byte) (*auth, error)
- func NewConn(c net.Conn, rnonce, wnonce []byte, rciph, wciph cipher.AEAD) net.Conn
- func NewEd25519(hash types.Hash, key []byte) types.Signer
- func NewHandshaker(server bool, hash []byte, password []byte) *encryptedHandshaker
- 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 Ed25519
Constants ¶
This section is empty.
Variables ¶
View Source
var Chacha20poly1305 = chacha20poly1305Aead{}
View Source
var Sha256 = sha256Hash{}
Functions ¶
func NewHandshaker ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.