Versions in this module Expand all Collapse all v1 v1.0.3 Jun 2, 2021 Changes in this version + func Decrypt(entity *openpgp.Entity, encrypted []byte) ([]byte, error) + func Encrypt(entity *openpgp.Entity, message []byte) ([]byte, error) + func GetEntity(publicKey []byte, privateKey []byte) (*openpgp.Entity, error) + func Sign(entity *openpgp.Entity, message []byte) ([]byte, error) + func Verify(publicKeyEntity *openpgp.Entity, message []byte, signature []byte) error + type PGPKeyPair struct + PrivateKey string + PublicKey string + func GenerateKeyPair(fullname string, comment string, email string) (PGPKeyPair, error) v1.0.1 Jun 2, 2021