Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Interface to GnuPG. The GnuPG program "gpg" must be on the PATH.
- type Recipient = String
- decrypt :: String -> IO String
- decryptLbs :: ByteString -> IO ByteString
- encrypt :: [Recipient] -> String -> IO String
- encryptLbs :: [Recipient] -> ByteString -> IO ByteString
Types
Functions
:: ByteString | The encrypted data. |
-> IO ByteString | The plain data. |
Decrypt binary data.
Encrypt text.
:: [Recipient] | The recipients for encryption. |
-> ByteString | The plain data. |
-> IO ByteString | The encrypted data. |
Encrypt binary data.