Versions in this module Expand all Collapse all v0 v0.9.9 Oct 22, 2019 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