Function check_encode
Source pub fn check_encode(data: &[u8]) -> String
Expand description
Encode a byte slice with a 4-byte double-SHA-256 checksum appended (Base58Check).
The checksum is the first 4 bytes of SHA-256d(data). The result
is encode(data || checksum).
§Arguments
data - The bytes to encode (typically version byte + payload).
§Returns
A Base58Check-encoded string.