pgp-wordlist-0.1.0.2: Translate between binary data and a human-readable collection of words.

Safe HaskellSafe
LanguageHaskell2010

Data.Text.PgpWordlist.Internal.Types

Synopsis

Documentation

data TranslationError Source #

Possible translation errors from a list of PGP words to binary format.

Constructors

BadWord Text

Word is not recognized

BadParity Text Word8

Word is recognized, but from the wrong alphabet. Duplicates, omissions, and neighbour transpositions are often cause for this.

newtype EvenWord Source #

Word that is supposed to occur in an even position

Constructors

EvenWord 

Fields

newtype OddWord Source #

Word that is supposed to occur in an odd position

Constructors

OddWord 

Fields