yabase/base58/bitcoin

Values

pub fn decode(
  input: String,
) -> Result(BitArray, error.CodecError)

Decode a Base58 string to a BitArray.

pub fn encode(data: BitArray) -> String

Encode a BitArray to Base58 (Bitcoin).

Sub-byte input panics; see yabase/core/guard.assert_byte_aligned.

Search Document