Versions in this module Expand all Collapse all v0 v0.0.4 Feb 28, 2022 v0.0.3 Feb 28, 2022 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)