| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Crypto.GnuPG
Description
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
Arguments
| :: ByteString | The encrypted data. |
| -> IO ByteString | The plain data. |
Decrypt binary data.
Arguments
| :: [Recipient] | The recipients for encryption. |
| -> String | The plain text. |
| -> IO String | The encrypted text. |
Encrypt text.
Arguments
| :: [Recipient] | The recipients for encryption. |
| -> ByteString | The plain data. |
| -> IO ByteString | The encrypted data. |
Encrypt binary data.