pub fn write_encryption_key( user_id: &str, key: &[u8; 32], ) -> Result<&'static str, CredstoreError>
Persist a 32-byte AES encryption key for user_id to config.json. Always returns "plaintext".
user_id
"plaintext"