Skip to content
HashlLab

File Encryption

Encrypt and decrypt files or text with a password using AES-256-GCM.

In browserPro · from BasicNew

About this tool

  • Runs entirely in your browser. Nothing you enter is uploaded.
  • AES-256-GCM with a key derived by PBKDF2-SHA-256 (600,000 iterations) and a random salt.
  • There is no password recovery. Losing the password means losing the data.
  • Available on paid plans. Files are processed in memory: up to 100 MB on Basic, 256 MB on Standard and 512 MB on Plus and Ultra.

How it works

A key is derived from your password with PBKDF2-HMAC-SHA-256 and a random salt, then the data is encrypted with AES-256-GCM. The salt, nonce and parameters are stored in the file header and authenticated together with the data.

Questions about File Encryption

Help center
How does File Encryption protect my data?

With AES-256-GCM, an authenticated cipher. Your password is turned into a 256-bit key with PBKDF2-HMAC-SHA-256 using 600,000 iterations and a random salt, which slows down password guessing. Any change to the encrypted file is detected when you decrypt it.

Is Base64 a form of encryption?

No. Base64, Base32, hex and URL encoding only change how data is written. Anyone can decode them without a key. Use File Encryption when the content must stay secret.

My file is rejected as too large.

Each plan has a maximum file size; the hint under the drop area shows yours. Sign in or choose a plan with a higher limit. For File Encryption, 512 MB is the maximum on every plan because the whole file is processed in memory.

Decryption fails with “Wrong password or the file was modified”.

Either the password differs from the one used to encrypt — check the keyboard layout and Caps Lock — or the file was changed or truncated after encryption, for example by an incomplete download. Authenticated encryption cannot tell these two cases apart by design.