create_encrypted_index_meta

Function create_encrypted_index_meta 

Source
pub fn create_encrypted_index_meta(
    password: &Password,
) -> Result<(FsIndexMeta, Vec<u8>)>
Expand description

Securely generates a new random DEK, derives an Argon2id KEK from the password, wraps the DEK under AES-256-GCM, and returns both the metadata structure and raw DEK.