bdk_chain::bitcoin::base58

Function encode_check

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.