Crate iota_sdk_crypto

Crate iota_sdk_crypto 

Source

Modules§

bls12381bls12381
ed25519ed25519
multisiged25519 or secp256r1 or secp256k1 or zklogin
passkeypasskey
secp256k1secp256k1
secp256r1secp256r1
simpleed25519 or secp256r1 or secp256k1 or zklogin
validatorbls12381
zkloginzklogin

Structs§

SignatureError
Signature errors.
UserSignatureVerifiered25519 or secp256r1 or secp256k1 or zklogin
Verifier that will verify all UserSignature variants

Enums§

PrivateKeyError
Error type for private key encoding/decoding operations

Constants§

DERIVATION_PATH_COIN_TYPEmnemonic
DERIVATION_PATH_PURPOSE_ED25519mnemonic
DERIVATION_PATH_PURPOSE_SECP256K1mnemonic
DERIVATION_PATH_PURPOSE_SECP256R1mnemonic
IOTA_PRIV_KEY_PREFIXbech32
Bech32 prefix for IOTA private keys

Traits§

FromMnemonicmnemonic
Defines a type which can be constructed from a mnemonic phrase
IotaSigner
Interface for signing user transactions and messages in IOTA
IotaVerifier
Interface for verifying user transactions and messages in IOTA
PrivateKeyScheme
Defines the scheme of a private key
Signer
Sign the provided message bytestring using Self (e.g. a cryptographic key or connection to an HSM), returning a digital signature.
ToFromBech32bech32
Defines a type which can be converted to and from bech32 strings
ToFromBytes
Defines a type which can be constructed from bytes
ToFromFlaggedBytes
Defines a type that can be converted to and from flagged bytes, i.e. bytes prepended by some variant indicator flag
Verifier
Verify the provided message bytestring using Self (e.g. a public key)