Function encode
Source pub fn encode(data: &[u8]) -> String
Expand description
Encode a byte slice to a Base58 string.
Uses Bitcoin’s modified Base58 alphabet. Leading zero bytes
are encoded as leading ‘1’ characters.
§Arguments
data - The bytes to encode.
§Returns
A Base58-encoded string.