Expand description
Low-level age-format encryption with a caller-supplied FileKey. Custom age-format writer that accepts a known FileKey.
Since age::Encryptor generates a random FileKey internally and doesn’t
expose it, we need a custom encrypt function to reuse a cached FileKey.
This produces spec-compliant age v1 binary files.
Enums§
- Encrypt
With File KeyError - Error returned by
encrypt_with_file_key.
Functions§
- encrypt_
with_ file_ key - Encrypt plaintext using a known FileKey + recipient.