Expand description
Cryptographic related functionalitys, enums structs and modules
Modules§
- hmac_
sign - The
hmacmodule provides functionality for generating, managing, and verifying digital hmacs, supporting various algorithms including post-quantum secure schemes.
Structs§
- CipherAES
- Represents the AES cipher for encryption and decryption processes. It holds cryptographic information and a shared secret for operations.
- Cipher
AesCtr - Cipher
AesGcm Siv - Cipher
AesXts - Cipher
ChaCha - Represents the XChaCha20 cipher for encryption and decryption processes. It includes cryptographic information, a nonce for the operation, and a shared secret.
- Cipher
ChaCha Poly - Represents the XChaCha20Poly1305 cipher for encryption and decryption processes. It includes cryptographic information, a nonce for the operation, and a shared secret.
- Cryptographic
Information - Contains information necessary for performing cryptographic operations, including the content to be encrypted or decrypted, a passphrase, metadata defining the operation context, and a flag indicating whether the content should be saved securely.
- Cryptographic
Metadata - Holds metadata for cryptographic operations, specifying the process, encryption type, key encapsulation mechanism, and content type.
Enums§
- Content
Type - Enumerates the types of content that can be encrypted or decrypted, such as messages or files.
- Cryptographic
Mechanism - Enumerates the cryptographic mechanisms supported, such as AES and XChaCha20.
- KeyEncap
Mechanism - Enumerates the key encapsulation mechanisms supported, such as Kyber1024.
- Process
- Enumerates the cryptographic processes, such as encryption and decryption.