Signcryption (#82)

* added signcryption in the helpers

* changed the name of encrypted signature

* changed the name of an encrypted signature

Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
This commit is contained in:
marinthiercelin 2020-10-07 15:26:36 +02:00 committed by GitHub
parent 2b8d58d357
commit ada3fd0533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 69 additions and 30 deletions

View file

@ -62,6 +62,6 @@ func EncryptSignAttachment(
func EncryptSignArmoredDetached(
publicKey, privateKey string,
passphrase, plainData []byte,
) (ciphertext, signature string, err error) {
) (ciphertext, encryptedSignature string, err error) {
return encryptSignArmoredDetached(publicKey, privateKey, passphrase, plainData)
}