Expand description
Fuel cryptographic primitives.
Re-exports§
pub use coins_bip32;
std
pub use coins_bip39;
std
pub use fuel_types;
pub use rand;
random
Modules§
Structs§
- Hasher
- Standard hasher
- Message
- Normalized (hashed) message authenticated by a signature
- Public
Key - Asymmetric secp256k1 public key, i.e. verifying key, in uncompressed form. https://github.com/FuelLabs/fuel-specs/blob/master/src/protocol/cryptographic-primitives.md#ecdsa-public-key-cryptography
- Secret
Key - Asymmetric secret key, guaranteed to be valid by construction
- Signature
- Compressed-form Secp256k1 signature.
Enums§
- Error
- Crypto error variants
Functions§
- generate_
mnemonic_ phrase std
andrandom
- Generates a random mnemonic phrase given a random number generator and
the number of words to generate,
count
.