Expand description
Utility functions and convenience wrappers for common cryptographic operations.
Structs§
- Encrypted
AndSigned - Encrypt and sign a message (encrypt-then-sign pattern).
- Encrypted
Message - Encrypted message with metadata.
- Signed
Message - Signed message with signature.
Enums§
- Util
Error - Errors for utility operations.
Functions§
- decrypt_
file - Decrypt a file.
- encrypt_
file - Encrypt a file.
- generate_
and_ save_ key - Generate a random key and save it to a file (for testing/development).
- load_
key - Load a key from a file.
Type Aliases§
- Util
Result - Result type for utility operations.