feat(notsecrets): scrypt identity and recipient (passphrase-based)

This commit is contained in:
Joseph O'Brien
2026-04-01 20:51:40 -04:00
parent 6202c5dfe9
commit b899198e98
5 changed files with 166 additions and 3 deletions

View File

@@ -3,8 +3,11 @@ use crate::error::AgeError;
pub mod x25519;
pub use x25519::X25519Identity;
pub mod scrypt;
pub use scrypt::ScryptIdentity;
/// The symmetric file encryption key — 16 random bytes.
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct FileKey([u8; 16]);
impl FileKey {