base58-bytestring-0.1.0: Implementation of BASE58 transcoding for ByteStrings

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.Base58

Contents

Synopsis

Alphabet

Encoding and decoding bytestrings

encodeBase58 :: Alphabet -> ByteString -> ByteString Source

Encode a bytestring to a base 58 representation.

decodeBase58 :: Alphabet -> ByteString -> Maybe ByteString Source

Decode a base 58 encoded bytestring. This can fail if the input bytestring contains invalid base 58 characters such as 0,O,l,I

Encoding and decoding integers