Documentation
¶
Index ¶
- func DecodeBase64(encoded string) (string, error)
- func DecryptOpenPGP(privateKey string, privateKeyPassword string, encString string) (string, error)
- func EncryptOpenPGP(publicKey string, secretString string) (string, error)
- func SignOpenPGP(privateKey string, privateKeyPassword string, message []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBase64 ¶
func DecryptOpenPGP ¶
DecryptOpenPGP decrypts an encrypted string using OpenPGP (armored encrypted message)
func EncryptOpenPGP ¶
EncryptOpenPGP encrypts a secretString with the publicKey using OpenPGP (armored encrypted message)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.