SuperDevTools

Encrypt online

Encrypt a text or compute its hash

This family holds nine tools that turn a text into an unreadable string. They cover two different operations that often get called "encryption". Encryption proper (AES) is reversible: with the right key you get the original text back. Hashing (MD5, SHA-1, crypt) is not: it produces a fixed-length fingerprint that is handy for comparing two values or checking that content has not changed, but it cannot be turned back into plain text.

Which encryption tool should you use?

  • MD5: when you need a 32-character hexadecimal hash, such as a checksum or a value expected by a legacy system. Do not use it to protect passwords.
  • SHA1: when you need a 40-character hash, still required by some tools and APIs. It is also outdated for security purposes.
  • CRYPT: when you want to reproduce the output of PHP's crypt() function from a text and a salt you supply.
  • AES 128 CBC, AES 192 CBC and AES 256 CBC: when you want to encrypt a text with a key and an initialisation vector (IV). This is the mode to prefer; the number is the key size in bits.
  • AES 128 ECB, AES 192 ECB and AES 256 ECB: when you must stay compatible with a system that requires this mode, which has no IV. Identical blocks give identical output, so it is weaker.

How it works

The tools are free and need no account. The calculation runs on the SuperDevTools server: your text and key are sent over HTTPS, processed, and the result is returned. Nothing is stored. Even so, avoid entering a key or password that is used in production.