Crate keys
Source - Commands ๐
- Command-line interface for the keys utility
- KEY_SIZE ๐
- Size of the derived encryption key (32 bytes for AES-256)
- NONCE_SIZE ๐
- Size of the nonce used for AES-GCM encryption (12 bytes)
- PBKDF2_ITERATIONS ๐
- Number of PBKDF2 iterations for key derivation
- SALT_SIZE ๐
- Size of the salt used for key derivation (32 bytes)
- decrypt_key ๐
- Decrypts data that was encrypted with
encrypt_key - encrypt_key ๐
- Encrypts a private key using AES-256-GCM with PBKDF2 key derivation
- main ๐