| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Haskoin.Address.Base58
Synopsis
- type Base58 = Text
- encodeBase58 :: ByteString -> Base58
- decodeBase58 :: Base58 -> Maybe ByteString
- encodeBase58Check :: ByteString -> Base58
- decodeBase58Check :: Base58 -> Maybe ByteString
Documentation
encodeBase58 :: ByteString -> Base58 Source #
Encode an arbitrary ByteString into a its Base58 representation,
preserving leading zeroes.
decodeBase58 :: Base58 -> Maybe ByteString Source #
Decode a Base58-encoded Text to a ByteString.
encodeBase58Check :: ByteString -> Base58 Source #
Computes a checksum for the input ByteString and encodes the input and
the checksum as Base58.