lio-eci11-0.2: Labeled IO library



These functions support a simple base-32 encoding of binary data, in which 5 bytes of binary data are mapped onto 8 characters from the set {a, ..., k, m, n, p, ..., z, 2, ..., 9} (i.e., all lower-case letters and digits except for l, o, 0, and 9).

The armor32 function encodes binary using this base-32 encoding, while dearmor32 reverses the encoding.

Binary data is assumed to come from the Data.ByteString.Lazy type.



a32Valid :: Char -> BoolSource

Return True iff the caracter could have been in the output of armor32.