Module avalanche_types::hash
source · Constants
Functions
- Returns SHA256 digest of the given data.
- 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