Versions in this module Expand all Collapse all v0 v0.56.0 Sep 2, 2026 GO-2026-5932 GO-2026-5932: The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues 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)