Versions in this module Expand all Collapse all v1 v1.0.1 Oct 14, 2022 v1.0.0 Oct 14, 2022 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)