Available on crate feature
aleo
only.Expand description
Functionality related to Aleo blockchain network.
Required crate feature: aleosig
This module provides sign and verify functions for Aleo signatures using static parameters (COM_PARAMS, ENC_PARAMS, SIG_PARAMS) and a JWK-based keypair representation.
Structs§
- Aleo account commitment parameters
- Aleo account encryption parameters
- Aleo account signature parameters
Enums§
- An error resulting from attempting to generate a JWK Aleo private key.
- An error resulting from attempting to sign a message using an Aleo private key.
- An error resulting from attempting to verify a signature from an Aleo account.
- An error resulting from attempting to convert a JWK to an Aleo account address.
- An error resulting from attempting to convert a JWK to an Aleo private key.
Constants§
- Unregistered JWK OKP curve for Aleo private keys in Aleo Testnet 1
Functions§
- Generate an Aleo private key in unofficial JWK format. CPU-intensive (slow).
- Create an Aleo signature.
- Verify an Aleo signature by an Aleo address as a string.