Versions in this module Expand all Collapse all v1 v1.8.0 Sep 21, 2018 v1.6.7 Feb 27, 2018 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