Module alg

Module alg 

Source
Expand description

Supported key algorithms

Modules§

aesaes
AES key representations with AEAD support
blsbls
BLS12-381 key support
chacha20chacha
ChaCha20 and XChaCha20 stream ciphers with AEAD
ed25519ed25519
Ed25519 signature and verification key support
k256k256
Elliptic curve ECDH and ECDSA support on curve secp256k1
p256p256 or p256_hardware
Elliptic curve ECDH and ECDSA support on curve secp256r1
p384p384
Elliptic curve ECDH and ECDSA support on curve secp384r1
x25519ed25519
X25519 key exchange support on Curve25519

Enums§

AesTypes
Supported algorithms for AES
BlsCurves
Supported public key types for Bls12_381
Chacha20Types
Supported algorithms for (X)ChaCha20-Poly1305
EcCurves
Supported curves for ECC operations
KeyAlg
Supported key algorithms

Traits§

AnyKeyCreateany_key
Create AnyKey instances from various sources
HasKeyAlg
A trait for accessing the algorithm of a key, used when converting to generic AnyKey instances.
HasKeyBackend
A trait for accessing the backend of a key, used when converting to generic AnyKey instances.

Type Aliases§

AnyKeyany_key
The type-erased representation for a concrete key instance