pub fn hash_sha256_ripemd160<S>(pub_key_bytes: S) -> Result<Vec<u8>>where
    S: AsRef<[u8]>,
Expand description

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