handa-gdata-0.7.0.3: Library and command-line utility for accessing Google services and APIs.

Safe HaskellSafe-Inferred
LanguageHaskell98

Crypto.GnuPG

Contents

Description

Interface to GnuPG. The GnuPG program "gpg" must be on the PATH.

Synopsis

Types

type Recipient = String Source

A recipient for encryption.

Functions

decrypt Source

Arguments

:: String

The encrypted text.

-> IO String

The plain text.

Decrypt text.

decryptLbs Source

Arguments

:: ByteString

The encrypted data.

-> IO ByteString

The plain data.

Decrypt binary data.

encrypt Source

Arguments

:: [Recipient]

The recipients for encryption.

-> String

The plain text.

-> IO String

The encrypted text.

Encrypt text.

encryptLbs Source

Arguments

:: [Recipient]

The recipients for encryption.

-> ByteString

The plain data.

-> IO ByteString

The encrypted data.

Encrypt binary data.