Module aries_askar::kms
source · Expand description
Support for cryptographic key management and operations
Structs§
- The result of an AEAD encryption operation
- A stored key entry
- Parameters defining a stored key
- A stored key entry
- A heap-allocated, zeroized byte buffer
- The payload for an AEAD decryption operation
Enums§
- Supported key algorithms
Functions§
- Encrypt a message with crypto_box and a detached nonce
- Decrypt a message with crypto_box and a detached nonce
- Generate a new random nonce for crypto_box
- Perform message encryption equivalent to libsodium’s
crypto_box_seal
- Perform message decryption equivalent to libsodium’s
crypto_box_seal_open
- Derive an ECDH-1PU shared key for authenticated encryption
- Derive an ECDH-ES shared key for anonymous encryption