Module simperby_core::crypto
source · Expand description
A set of types and functions related to cryptography, that are widely used in the entire Simperby project.
Structs
- A cryptographic hash.
- A private key.
- A public key.
- A cryptographic signature.
- A signature that is explicitly marked with the type of the signed data.
Enums
Traits
Functions
- Checks whether the given public and private keys match.
- Generates a new keypair using the seed.
- Generates a new keypair randomly