pub fn generate_encryption_key_simple(password: &str) -> [u8; 32]Expand description
Generate a 16-byte encryption key from a password using SHA-256
This function:
- Combines password with fixed salt
- Hashes using SHA-256 (produces 32 bytes)
- Takes the first 16 bytes of the hash as the encryption key
Password requirements:
- Minimum length: 10 characters
- Maximum length: 20 characters