Expand description
Define the cryptographic primitives used by the Linera protocol.
Structs§
- Crypto
Hash - A Sha3-256 value.
- KeyPair
- A signature key-pair.
- Public
Key - A signature public key.
- Signature
- A signature value.
Enums§
- Crypto
Error - Error type for cryptographic errors.
Traits§
- BcsHashable
- Activate the blanket implementation of
Hashable
based on serde and BCS. - BcsSignable
- Activate the blanket implementation of
Signable
based on serde and BCS. - Crypto
Rng - Wrapper around
rand::CryptoRng
andrand::RngCore
. - HasType
Name - Something that we know how to hash and sign.
- Hashable
- Something that we know how to hash.