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 BlockSize + const KeySize + type Cipher struct + func NewCipher(key []byte) (c *Cipher, err error) + func (c *Cipher) BlockSize() int + func (c *Cipher) Decrypt(dst, src []byte) + func (c *Cipher) Encrypt(dst, src []byte)