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

Safe HaskellSafe-Inferred

Crypto.GnuPG

Contents

Description

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

Synopsis

Types

type Recipient = StringSource

A recipient for encryption.

Functions

decryptSource

Arguments

:: String

The encrypted text.

-> IO String

The plain text.

Decrypt text.

decryptLbsSource

Arguments

:: ByteString

The encrypted data.

-> IO ByteString

The plain data.

Decrypt binary data.

encryptSource

Arguments

:: [Recipient]

The recipients for encryption.

-> String

The plain text.

-> IO String

The encrypted text.

Encrypt text.

encryptLbsSource

Arguments

:: [Recipient]

The recipients for encryption.

-> ByteString

The plain data.

-> IO ByteString

The encrypted data.

Encrypt binary data.