Versions in this module Expand all Collapse all v1 v1.0.0 Jun 18, 2018 Changes in this version + func Decrypt(priv *PrivateKey, vsG, m, curveOID, fingerprint []byte) (msg []byte, err error) + func Encrypt(random io.Reader, pub *PublicKey, msg, curveOID, fingerprint []byte) (vsG, c []byte, err error) + func X25519Decrypt(priv *PrivateKey, vsG, m, curveOID, fingerprint []byte) (msg []byte, err error) + func X25519Encrypt(random io.Reader, pub *PublicKey, msg, curveOID, fingerprint []byte) (vsG, c []byte, err error) + func X25519GenerateParams(rand io.Reader) (priv [32]byte, x [32]byte, err error) + type KDF struct + Cipher algorithm.Cipher + Hash algorithm.Hash + type PrivateKey struct + D []byte + func GenerateKey(c elliptic.Curve, kdf KDF, rand io.Reader) (priv *PrivateKey, err error) + func X25519GenerateKey(rand io.Reader, kdf KDF) (priv *PrivateKey, err error) + type PublicKey struct + X *big.Int + Y *big.Int Incompatible versions in this module v2.0.0+incompatible Mar 4, 2019