Skip to main content

write_encryption_key

Function write_encryption_key 

Source
pub fn write_encryption_key(
    user_id: &str,
    key: &[u8; 32],
) -> Result<&'static str, CredstoreError>
Expand description

Persist a 32-byte AES encryption key for user_id to config.json. Always returns "plaintext".