Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + const KeySize + const NonceSize + const NonceSizeX + func HChaCha20(key, nonce []byte) ([]byte, error) + type Cipher struct + func NewUnauthenticatedCipher(key, nonce []byte) (*Cipher, error) + func (s *Cipher) SetCounter(counter uint32) + func (s *Cipher) XORKeyStream(dst, src []byte)