This is an OpenPGP library inspired by my work on OpenPGP libraries in Ruby , PHP , and Python . It defines types to represent OpenPGP messages as a series of packets and then defines instances of Data.Binary for each to facilitate encoding/decoding. There is also a wrapper around that currently does fingerprint generation, signature generation, and signature verification (for RSA keys only). It is intended that you use qualified imports with this library. If importing both modules, something like this will do: > import qualified Data.OpenPGP as OpenPGP > import qualified Data.OpenPGP.Crypto as OpenPGP