Module: utils/base58

Methods

(static) decode(str) → {Buffer}

Decode a base58 string.

Parameters:
Name Type Description
str Base58String
Source:
See:
Throws:

on non-base58 character.

Returns:
Type
Buffer

(static) encode(data) → {Base58String}

Encode a base58 string.

Parameters:
Name Type Description
data Buffer
Source:
See:
Returns:
Type
Base58String