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 + func Decrypt(priv *PrivateKey, c1, c2 *big.Int) (msg []byte, err error) + func Encrypt(random io.Reader, pub *PublicKey, msg []byte) (c1, c2 *big.Int, err error) + type PrivateKey struct + X *big.Int + type PublicKey struct + G *big.Int + P *big.Int + Y *big.Int