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:
parent
2b8d58d357
commit
ada3fd0533
3 changed files with 69 additions and 30 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue