tuweni / org.apache.tuweni.io / Base58

Base58

class Base58 (source)

Utility methods for encoding and decoding base58 strings.

Functions

decode

Decode a base58 encoded string to bytes.

static fun decode(b58: String!): Bytes!

decodeBytes

Decode a base58 encoded string to a byte array.

static fun decodeBytes(b58: String!): ByteArray!

encode

Encode bytes to a base58 encoded string.

static fun encode(bytes: Bytes!): String!

encodeBytes

Encode a byte array to a base58 encoded string.

static fun encodeBytes(bytes: ByteArray!): String!