Documentation ¶
Index ¶
- func Decrypt(ciphertext []byte, password []byte, packetConfig *packet.Config) (plaintext []byte, err error)
- func DecryptBase64(enc string, privateKey string, passphrase string) ([]byte, error)
- func DecryptBytes(encBytes []byte, privKeyringFile string, passphrase string) ([]byte, error)
- func DecryptBytesWithIoReader(encBytes []byte, keyringFileBuffer io.Reader, passphrase string) ([]byte, error)
- func Encrypt(plaintext []byte, password []byte, packetConfig *packet.Config) (ciphertext []byte, err error)
- func EncryptBytes(origBytes []byte, pubKeyringFile string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptBase64 ¶
func DecryptBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.