Base58
import { Base58 } from "https://raw.githubusercontent.com/marigold-dev/tzstamp/0.3.4/helpers/mod.ts";
§Classes
Base58.ChecksumError | Mismatched checksum error |
Base58.PrefixError | Mismatched prefix error |
§Variables
Base58.validator | Base58 string validation regular expression. Tests a string against the common Base58 alphabet as defined in the the [Base58 Encoding Scheme]. |
§Functions
Base58.decode | Decodes a Base58 string to a byte array payload as described in the [Base58 Encoding Scheme]. |
Base58.decodeCheck | Decodes and validates a Base58 string with a checksum to a byte array. |
Base58.encode | Encodes a byte array payload as a Base58 string as described in the [Base58 Encoding Scheme]. |
Base58.encodeCheck | Encodes a byte array payload as a Base58 string with a checksum. |