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 + func ExpandKey(key []byte, c *Cipher) + type Cipher struct + func NewCipher(key []byte) (*Cipher, error) + func NewSaltedCipher(key, salt []byte) (*Cipher, error) + func (c *Cipher) BlockSize() int + func (c *Cipher) Decrypt(dst, src []byte) + func (c *Cipher) Encrypt(dst, src []byte) + type KeySizeError int + func (k KeySizeError) Error() string