Encryption is the practice of scrambling data so that only someone with the right key can read it. When you encrypt a file, you transform its contents into unreadable bytes. Only by supplying the correct password can you reverse the process. Done correctly, this is mathematically unbreakable — not just "hard", but computationally infeasible with today's technology.
Why Encrypt a File?
- Emailing sensitive files: Email is not encrypted end-to-end. Encrypting a file before sending it protects the contents even if the email is intercepted.
- Cloud storage: Storing files on Google Drive, Dropbox or iCloud? Encrypting them first adds a layer that even the provider can't peel back.
- USB drives and external disks: If you lose a drive, encrypted files remain unreadable to anyone who finds it.
- Backups: Backup archives often contain your most sensitive data. Encrypt the whole archive with a strong password.
- Sharing with one person: Encrypt a file, then send the password via a different channel (Signal, phone call) — the recipient is the only one who can open it.
The Technology Behind This Tool
- AES-256-GCM: AES (Advanced Encryption Standard) with a 256-bit key is the gold standard for symmetric encryption, used by the US government and by virtually every secure protocol on the internet. GCM (Galois/Counter Mode) adds authenticated encryption — tampered files fail to decrypt rather than silently producing wrong output.
- PBKDF2-SHA256: Passwords are short and human. PBKDF2 stretches them into full-size keys by running 100,000 rounds of SHA-256 with a random salt. This slows down brute-force attacks by orders of magnitude.
- Random salt (16 bytes): A unique random value is added to each file before key derivation. Two files encrypted with the same password produce completely different ciphertexts.
- Random IV (12 bytes): A unique initialization vector ensures the same plaintext never encrypts to the same ciphertext.
- Auth tag (128-bit): GCM produces a tag that verifies the integrity of the file. Any modification — even a single flipped bit — is detected on decryption.
Choosing a Strong Password
- Length matters most: Aim for 16+ characters. Longer is dramatically stronger than "more complex".
- Use a passphrase: A string of 4–6 random words is both easy to remember and very hard to crack.
- Avoid patterns: No "password123", no names, no dates, no keyboard walks.
- Use the generator: The tool includes a strong password generator — use it, then save the password in a password manager.
- Store it safely: If you forget the password, your file is gone. There is no back door, no recovery, no reset. This is by design.
Best Practices
- Share the password over a different channel: If you email the encrypted file, send the password by SMS, Signal, or a phone call — never in the same email.
- Keep the .tbenc extension: It signals to you (and any tools) that the file is encrypted.
- Back up before encrypting: Always keep an unencrypted copy until you've verified the decryption works.
- Verify the decryption: After encrypting, immediately decrypt the file to confirm the password works correctly.
- Rotate passwords: For long-term backups, consider re-encrypting with a fresh password every year or two.
What This Tool Cannot Do
- Recover lost passwords: By design, if you forget your password, the file is unrecoverable.
- Protect against compromised devices: If a virus is running on your computer while you decrypt, it can see the plaintext.
- Hide file metadata: The original filename is stored inside the .tbenc header so the recipient gets their file back with the right name. If you need the filename hidden too, rename the file before sharing.
- Replace full-disk encryption: For maximum protection, use this alongside FileVault (macOS), BitLocker (Windows) or LUKS (Linux).
Privacy and Security
Most online "encryption" tools secretly upload your files to a server for processing — the opposite of what encryption is supposed to achieve. ToolBajar's File Encrypter runs entirely in your browser using the Web Crypto API. Your files are read from disk, processed in memory, and written back to disk — they never touch a network. That makes it safe for sensitive documents, personal photos, legal files and anything else you'd rather keep private.