module

BaseX::Base58

Constants

DEFAULT = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
FLICKR = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
RIPPLE = "rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"

Instance methods

decode(str : String, alphabet = DEFAULT) : Bytes
Source
decode_bytes(str : String, alphabet = DEFAULT) : Bytes
Source
decode_int(str : String, alphabet = DEFAULT) : BigInt
Source
encode(bytes : Bytes, alphabet = DEFAULT, leading_zeroes = true) : String
Source
encode(int : Number, alphabet = DEFAULT) : String
Source