FuckMyBytes Download for offline use

FuckMyBytes3

Lock text and files with a password. It all happens in your browser, so nothing is uploaded.

Advanced Byte Fucking Technology. A stronger FMB from ABF Technologies Inc.

Encrypt or decrypt

Input

0 characters

Strength shows here

A lost password cannot be recovered.

Result

Nothing here yet.

Add some text or a file, enter a password and press the big button. Your result shows up here.

Inside the encrypted data

The first 64 bytes and the last 16, in hex. Run something to see yours.

Point at a colour to see what that part does.

How it works

  1. Your password becomes a key

    The password is turned into bytes and stretched with PBKDF2, using SHA-512, 100,000 rounds and a fresh random 32-byte salt. The first 32 bytes of the result are the AES-256 key.

  2. The data gets encrypted

    A random 16-byte IV is generated, and your data is encrypted with AES in Galois/Counter Mode. GCM also produces a 16-byte tag that catches wrong passwords and tampering.

  3. Everything is packed together

    Version, salt, IV and header go in front of the ciphertext. That is all decryption needs besides your password. Text comes out as Base64, files get the .fmbv3 extension.

The six parts of the package

The colours match the hex dump in the tool.

Check it yourself

  • No network access. The page tells your browser not to let its own scripts talk to any server. Open the Network tab in your developer tools and watch it stay empty while you encrypt.
  • Nothing is saved. Your text, files and passwords are never stored by the page. They are gone when you close the tab. Only your theme choice is remembered.
  • Readable code. The page is three plain files: index.html, style.css and script.js. View the source and read them.

Questions

What if I forget the password?

The data cannot be recovered. There is no server, no reset and no backdoor. Only the password can rebuild the key.

Why is the result different every time?

Every encryption uses a fresh random salt and IV, so the same text and password never give the same output twice. All of the results decrypt fine.

Why does decryption say the password is wrong?

AES-GCM checks a seal on the data. If the password is wrong, or the text was edited or cut off, the check fails and nothing is shown. Paste the complete text, including any = characters at the end.

How big can a file be?

Up to 512 MB. Files are processed in memory, so very large ones can slow down or crash the tab.

Which password should I use?

Press Generate for a random one, or use a long phrase of several unrelated words, and keep it in a password manager. The strength meter is a rough guide, not a guarantee.