pub fn sha256_ripemd160<B>(b: B) -> Result<Vec<u8>>where
    B: AsRef<[u8]>,
Expand description

Converts bytes to the short address bytes (20-byte). e.g., “hashing.PubkeyBytesToAddress” and “ids.ToShortID” ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/hashing#PubkeyBytesToAddress