What Is a File Encryption Tool?
File encryption turns a file into an unreadable copy that only the correct key can restore; this tool derives the key from your passphrase.
How to Use This Tool
- Select a file within the 25 MiB limit.
- Enter and confirm a strong passphrase.
- Encrypt and download the versioned encrypted file.
- Test decryption before deleting any original.
How It Works
The file bytes are encrypted with AES-256-GCM and a 128-bit tag. PBKDF2-SHA256 uses 600000 iterations and a fresh random 16-byte salt to derive a 256-bit key, and encryption uses a fresh random 12-byte nonce. The versioned envelope retains version, algorithm, KDF, iteration count, salt, nonce, and tagged ciphertext. The original filename is authenticated but not encrypted; it remains readable in the header so the paired decryptor can restore the download name. The decryptor accepts 25 MiB of plaintext plus the format overhead.
Benefits and Use Cases
- Protect file contents independently of storage location.
- Detect modification when the file is decrypted.
- Keep the original file unchanged during download.
Security Best Practices
- Keep the passphrase separate from the encrypted file.
- Avoid sensitive original filenames because filename metadata is not encrypted.
- Retain an original until a decryption test succeeds.
How Do I Read the Results?
Download the .lmoenc copy and keep the passphrase in your secure vault; delete the original only after testing decryption.
Assumptions and Limitations
Large files are limited by browser memory; lost passphrases cannot be recovered.
Related LogMeOnce Resources
Sources and Further Reading
Frequently Asked Questions
Is the original file overwritten?
No; encryption creates a separate download and should not silently replace the original.
Can I encrypt every file type?
The byte-oriented process does not require a particular file type, but the selected file must meet the size limit.
Does encryption hide the original filename?
No; the filename is authenticated metadata but is not encrypted. File contents are encrypted.
Is the filename necessarily private?
No; downloaded filenames and file sizes can reveal information even when content is encrypted.
Can a lost passphrase be reset?
No; resetting a website password cannot recover a locally derived encryption key.
Published by LogMeOnce. Last updated November 27, 2026.
