Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2023 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)