Expand description
Modules§
- contract_
addr - A small collection of helper functions to assist in the calculation of an contract’s content address.
- solution_
set_ addr - A small collection of helper functions to assist in the calculation of an solution’s content address.
Traits§
- Address
- Standardized trait for creating content addresses for types using the correct constructors.
Functions§
- content_
addr - Shorthand for hashing the given value in order to produce its content address.
- hash
- Hash data using SHA-256.
- hash_
bytes - Hash bytes without serializing them.
- hash_
bytes_ iter - Hash bytes without serializing them.
- hash_
words - Hash words in the same way that
Crypto::Sha256
does. - serialize
- Serialize data for hashing using postcard.