Function avalanche_types::formatting::encode_cb58_with_checksum_vec
source · pub fn encode_cb58_with_checksum_vec(d: &[u8]) -> Vec<u8> ⓘ
Expand description
Implements “formatting.EncodeWithChecksum” with “formatting.CB58”. “ids.ShortID.String” appends checksum to the digest bytes. ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#EncodeWithChecksum ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/hashing#Checksum