Function bitcoin::base58::encode_check

source ·
pub fn encode_check(data: &[u8]) -> String
Expand description

Encodes data as a base58 string including the checksum.

The checksum is the first four bytes of the sha256d of the data, concatenated onto the end.