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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.Base58.Internal

Synopsis

Documentation

b58 :: Alphabet -> Int -> Word8 Source

Take i byte from alphabet

b58' :: Alphabet -> Word8 -> Maybe Int Source

Lookup position of byte w in alphabet

bsToInteger :: ByteString -> Integer Source

Decode a big endian Integer from a bytestring

integerToBS :: Integer -> ByteString Source

Encode an Integer to a bytestring as big endian