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. For performing cryptography, see or For dealing with ASCII armor, see It is intended that you use qualified imports with this library. > import qualified Data.OpenPGP as OpenPGP