AES Encryption and Decryption Online Tool(Calculator)
Advanced Encryption Standard(AES) is a symmetric encryption algorithm. AES is the industry standard as of now as it allows 128 bit, 192 bit and 256 bit encryption. Symmetric encryption is very fast as compared to asymmetric encryption and are used in systems such as database system. Following is an online tool to generate AES encrypted password and decrypt AES encrypted password. It provides two mode of encryption and decryption ECB and CBC mode. For more info on AES encryption visit this explanation on AES Encryption.
Here is the other tool to encrypt and decrypt files quickly.
Any plain-text input or output that you enter, or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that text cannot be stolen.
If you appreciate this tool then you Can Consider:
- We are thankful for your never ending support.
AES Encryption Usage Guide
For encryption, you can either enter the plain text, password, an image file or a .txt file that you want to encrypt. Now choose the block cipher mode of encryption.
Different Modes of AES Encryption
AES offers 2 different modes of encryption - ECB and CBC modes.
ECB(Electronic Code Book) is the simplest encryption mode and does not require IV for encryption. The input plain text will be divided into blocks and each block will be encrypted with the key provided and hence identical plain text blocks are encrypted into identical cipher text blocks.
CBC(Cipher Block Chaining) mode is highly recommended, and it is an advanced form of block cipher encryption. It requires IV to make each message unique meaning the identical plain text blocks are encrypted into dissimilar cipher text blocks. Hence, it provides more robust encryption as compared to ECB mode, but it is a bit slower as compared to ECB mode. If no IV is entered then default will be used here for CBC mode and that defaults to a zero based byte.
AES Key Size
The AES algorithm has a 128-bit block size, regardless of whether you key length is 256, 192 or 128 bits. When a symmetric cipher mode requires an IV, the length of the IV must be equal to the block size of the cipher. Hence, you must always use an IV of 128 bits (16 bytes) with AES.
AES Secret Key
AES provides 128 bit, 192 bit and 256 bit of secret key size for encryption. If you are selecting 128 bits for encryption, then the secret key must be of 16 bits long and 24 and 32 bits for 192 and 256 bits of key size respectively. For example if the key size is 128 then a valid secret key must be of 16 characters i.e. 16*8=128 bits
Now you can enter the secret key accordingly. By default, the encrypted text will be base64 encoded but you have options to select the output format as HEX too.
Similarly, for image and .txt file the encrypted form will be Base64 encoded.
Below is a screenshot that shows a sample usage of this online AES encryption tool.
AES Decryption Usage Guide
AES decryption has also the same process. By default, it assumes the entered text be in Base64. The input can be Base64 encoded or Hex encoded image and .txt file too. And the final decrypted output will be Base64 string.
If the intended output is a plain-text then, it can be decoded to plain-text in-place.
But if the intended output is an image or .txt file then you can use this tool to convert the base64 encoded output to an image.