Local File Encryptor
Preparing workspace…
To encrypt a file online with this workspace, select a local document, enter and confirm a strong passphrase, and download the resulting .mtcenc file. Encryption is performed locally using AES-256-GCM with a fresh random salt and nonce. The output uses this website’s MTCF01 format, so it must be opened with the corresponding file decryptor; a forgotten password cannot be recovered.
Encrypt File Online At a Glance
| Property | Explanation |
|---|---|
| Cipher | AES-256-GCM with authentication tag |
| Key derivation | PBKDF2-HMAC-SHA256, 310,000 iterations |
| Randomness | Independent 16-byte salt and 12-byte nonce per file |
| Size limit | Nonempty file up to 25 MiB |
| Package | MTCF01 binary envelope with authenticated metadata |
| Compatibility | Companion decryptor only; not ZIP, PDF or common archive formats |
What Local File Encryption Protects
File encryption transforms readable bytes into ciphertext that cannot normally be recovered without the correct key. This workspace derives a key from a passphrase and uses authenticated encryption to protect the selected file's contents. Anyone who obtains the encrypted .mtcenc download can see that it is an encrypted package, but should not be able to reconstruct the original file without the passphrase, assuming the cryptographic implementation and the secret remain secure. Encryption does not prevent someone from deleting the package or learning information through the device where the original file was opened.
Local processing means the tool does not deliberately upload the selected file to a server for cryptographic conversion. This reduces one exposure route, but it is not a promise that the computer is free of malware, browser extensions, or other software that may access data. Use a trusted device with an up-to-date browser, and remember that an unencrypted original may remain in Downloads, cloud synchronization folders, backups, or recent-document histories. Encryption adds a controlled layer of confidentiality; it does not clean a compromised machine.
AES-256-GCM and Why Authentication Matters
AES is a standardized symmetric cipher, and GCM provides confidentiality together with an authentication tag. Instead of merely scrambling the plaintext, the algorithm lets the decryptor detect whether protected bytes or authenticated metadata have changed. A wrong passphrase, corrupted package, or deliberate modification should cause authentication to fail rather than return convincing-looking damaged text. The workspace uses a 256-bit AES key, a fresh 96-bit nonce, and the Web Crypto API available in secure browser contexts. The cryptographic primitives come from the browser implementation rather than homegrown mathematics.
Authentication is important for files because silent alteration could be worse than an obvious error. A modified business document should not emerge as if it were intact, and encrypted images should not be returned when their integrity is uncertain. The companion decryptor refuses to produce a download until AES-GCM verification succeeds. This does not establish the identity of the person who encrypted the file or certify that the underlying document is truthful; both require separate checks. It establishes only that the authenticated envelope is consistent with the supplied key and metadata.
Passphrases, PBKDF2, and Fresh Random Values
A memorable password is not directly suitable as an AES key. The tool uses PBKDF2 with SHA-256 to derive a key from the entered passphrase and a randomly generated 16-byte salt. The derivation runs 310,000 iterations, making repeated guessing more costly than a single hash calculation. A salt ensures that two users who choose the same passphrase do not automatically receive the same derived key for different files. Each encrypted file also receives a new random nonce, which is essential because repeating a nonce with the same GCM key can seriously weaken security.
The input requires at least twelve characters, but length alone does not guarantee strength. An obvious quotation or repeated pattern can still be guessed, so consider a long, unpredictable phrase or a password manager-generated secret. Store the passphrase separately from the encrypted file and maintain a secure recovery plan. Unlike an online account with a reset email, an independently encrypted package has no recovery administrator. Losing the only correct passphrase can mean permanent loss of the protected content, even if the .mtcenc file itself remains undamaged.
Understanding the MTCF01 Encrypted File Format
The downloaded binary file begins with the MTCF01 format marker, followed by a length field, a compact JSON metadata header, and authenticated ciphertext. The header records the declared original filename, media type, byte length, encryption method, derivation cost, salt, and nonce. These items are needed to reconstruct and validate the package, and the header bytes are included as additional authenticated data in AES-GCM. Changing them invalidates the authentication check. The format is versioned so an incompatible future format can be rejected clearly rather than guessed at silently.
A significant limitation is that the metadata header is not secret. Someone holding the encrypted package may be able to read the original filename, approximate file size, and media type even without knowing the passphrase. Choose a neutral filename before encryption when the name itself would reveal confidential details. The encryption format does not resemble a password-protected ZIP archive, PDF password, or operating-system encrypted volume; those formats have their own specifications. The companion local file decryptor is required to read this package, and arbitrary encrypted third-party files are not supported.
Step-by-Step Encryption and Download Review
Begin with a file you have permission to protect, then check its size before selecting it. The workspace accepts a nonempty file up to 25 MiB; larger data should use an established file-encryption application designed for streaming and long-running operations. Enter the passphrase twice so an accidental typing error does not create an unusable package. Once the file has been read locally, encryption produces a binary result with the .mtcenc suffix, and the interface reports the original byte count, encrypted size, and derivation iterations. The package is not considered saved until the browser completes its download.
As a safety check, preserve the unencrypted original until you have verified that the encrypted download exists and can be decrypted with the intended passphrase. If another person will receive the file, share the passphrase through a different trusted channel rather than placing it in the same message as the attachment. Do not email the passphrase alongside a backup copy of the package or put it into the filename. Once recovery has been tested and retention requirements are understood, the owner can decide how to store or delete originals securely.
Worked Example with a Sample Document
Suppose you want to protect a small PDF containing approved internal notes. Select a 200 KB file named meeting-notes.pdf and enter a strong secret generated independently of the PDF. The encryption process stores metadata about the PDF and converts its bytes to authenticated ciphertext. The resulting file is slightly larger because it includes the header, salt, nonce, and authentication tag. Its exact size depends on the metadata length, not a fixed compression ratio. The interface displays measured byte sizes rather than claiming an exact result before processing the selected file.
Try decrypting the package with the companion tool and compare its recovered file with the original. A file checksum generator can provide a digest for both copies when exact byte-level equality matters, although the checksum itself is not an encryption key or proof of who created the file. Then try a wrong passphrase on a non-sensitive test package and confirm that the decryptor refuses output. Testing the complete encrypt–decrypt cycle with a disposable example helps detect misunderstandings before you entrust an important sole copy to a new workflow.
Limits of Local Encryption and Device Security
The tool cannot protect a file after you open its unencrypted contents in an untrusted application. Screenshots, clipboard histories, document previews, filesystem indexing, automatic backups, and temporary files can create additional copies outside the encrypted package. A local encryption operation also does not revoke files already shared with others or prevent recipients from redistributing decrypted contents. For regulated records, organizations should follow their own storage, classification, retention, and incident-response rules rather than assuming a single cryptographic step satisfies an entire security program.
Large files deserve special care because this implementation reads the selected bytes into browser memory before constructing the encrypted output. The 25 MiB input limit prevents unlimited memory growth but does not guarantee the same performance on every device. A secure browser context with Web Crypto is required, so ordinary insecure HTTP pages cannot rely on this functionality. Errors are reported explicitly; the tool does not display a success message when the browser lacks cryptographic support or the operation fails. Do not use a partially downloaded package as a verified backup.
Compatibility, Verification, and Safe Storage
Encrypted packages should be labeled according to their actual format, and the receiving party needs a decryptor that understands that format. This workspace deliberately rejects unknown magic bytes and unsupported header values rather than attempting to interpret arbitrary data as an MTCF01 file. Versioned handling also avoids dangerous guesses about cipher modes or key derivation. Keep a note of which tool version created the package when maintaining archives over many years. An exported ciphertext file is not a substitute for a tested long-term backup strategy.
The locally created text-encryption format is separate from file encryption: the local text encryptor produces JSON for small passages, while this feature protects arbitrary file bytes in a binary envelope. Do not paste file ciphertext into a text editor and expect it to work as readable JSON. Store important encrypted packages redundantly, maintain controlled access to the secret, and periodically test recovery on a compatible machine. The value of encryption lies not only in secrecy at the moment of creation but also in the ability to recover authorized files when they are genuinely needed.
Frequently Asked Questions
Is an encrypted MTCF01 file a ZIP archive?
No. It is a separate authenticated binary format supported by the paired decryptor.
Is the original filename hidden?
No. The current package header exposes filename, media type, and file size as authenticated but unencrypted metadata.
What if I forget the passphrase?
The tool cannot reset or recover it. Keep a secure independent copy of the secret.
Will the file be uploaded for encryption?
The file is processed by browser cryptography rather than a website upload endpoint in this implementation.
Why is the encrypted file larger?
It includes a format header and the AES-GCM authentication tag in addition to ciphertext.
What is the maximum original file size?
25 MiB, chosen to bound local memory use.
Can I decrypt it with a different password-protected PDF tool?
No. The companion MTCF01 file decryptor is required.
Conclusion
Authenticated local encryption is useful when a passphrase and protected file can be managed responsibly. Verify that the downloaded package decrypts correctly, store the secret independently, and remember that the original filename and basic metadata are not confidential in this format.