Expand description
A set of types and functions related to cryptography, that are widely used in the entire Simperby project.
Structs§
- Hash256
- A cryptographic hash.
- HexSerialized
Bytes - HexSerialized
Vec - Private
Key - A private key.
- Public
Key - A public key.
- Signature
- A cryptographic signature.
- Typed
Signature - A signature that is explicitly marked with the type of the signed data.
Enums§
Traits§
Functions§
- check_
keypair_ match - Checks whether the given public and private keys match.
- generate_
keypair - Generates a new keypair using the seed.
- generate_
keypair_ random - Generates a new keypair randomly