Base58 class
Base58Check encoding used by Bitcoin and other UTXO chains.
Base58 is a binary-to-text encoding that avoids ambiguous characters (0, O, I, l) and is used for Bitcoin addresses, WIF private keys, and extended keys.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
String input) → Uint8List - Decodes a Base58 string to bytes.
-
decodeCheck(
String input) → Uint8List - Decodes a Base58Check string to payload bytes.
-
encode(
Uint8List bytes) → String - Encodes bytes to Base58 string.
-
encodeCheck(
Uint8List payload, {int version = 0}) → String - Encodes bytes with Base58Check (includes version byte and checksum).
-
getVersion(
String input) → int - Gets the version byte from a Base58Check string.