Skip to main content

base58_encode

Function base58_encode 

Source
pub fn base58_encode(data: &[u8]) -> String
Expand description

Encode bytes to a Base58 string.

Leading zero bytes in the input are preserved as ‘1’ characters in the output, following the Bitcoin Base58 convention.