🤫 sekrit
keep ur stuff sekrit 🤫
Encrypt any file, decrypt anywhere. File encryption that doesn't suck.
Why sekrit?
- Zero bullshit - Encrypt file, get encrypted file. That's it.
- Military-grade crypto - ChaCha20-Poly1305 + Argon2
- Restore original extensions -
document.pdf.sekrit→document.pdf - Secure by default - No passwords in shell history
- Cross-platform - Works everywhere Rust works
Install
Usage
# Encrypt any file
# Enter password: [hidden]
# ✅ Successfully encrypted to: "secret.pdf.sekrit"
# Decrypt anywhere
# Enter password: [hidden]
# ✅ Successfully decrypted to: "secret.pdf"
Features
- Interactive passwords - No CLI args, no shell history contamination
- Smart file handling - Automatically restores original file extensions
- Memory safety - Keys are securely zeroed after use
- Battle-tested crypto - ChaCha20-Poly1305 (AEAD) + Argon2id (KDF)
Security
- Encryption: ChaCha20-Poly1305 (256-bit)
- Key derivation: Argon2id with random salt
- Authentication: Built-in via AEAD
- Memory protection: Automatic key zeroization
Docker
# Build
# Run
Library Usage
Add to your Cargo.toml:
[]
= "1.0"
use ;
// Encrypt data
let data = b"secret data";
let encrypted_file = encrypt_file_data?;
// Save to disk
write_encrypted_file?;
// Load and decrypt
let encrypted_file = read_encrypted_file?;
let decrypted = decrypt_file_data?;
License
MIT - Use it, abuse it, whatever. Just keep your stuff sekrit 🤫