Online AES Encryption Tool
This online form encrypts with AES (Rijndael) instantly given text with the AES-128 algorithm and produces a BASE64-encoded output: cipher = BASE64_Encode(AES_Encrypt(text, password)). The algorithm first extracts a 128-bit secret key and AES IV (initial vector) from the password and then after padding the input encrypts it (by 128-bit blocks). Finally the encrypted binary result is encoded in BASE64. A random salt is injected along with the password to strengthen the encryption code. The key-extraction algorithm and the format of the output AES-encrypted message is compatible with OpenSSL.
The decryption algorithm first decodes the BASE64 string, extracts from it the random salt used during the encryption, extracts the AES key and IV from the password and the salt and decrypts back the encrypted text.
AES Online Encryption Tool – Source Code
Below is the source code of the online AES encryption tool:
25 Responses to “Online AES Encryption Tool”
I’ve made an effort for porting GibberishAES (256-bit keys only) to PHP. Please, have a look here: https://github.com/ivantcholakov/gibberish-aes-php
Nice. Thanks for sharing.
Thanks, it is just what i was looking for..
thanks for the great work, i try to use this script to encrypt my PHP files, but can not be able to make browser read my encrypted PHP files and view the page while the file still encrypted if viewing by text viewer.
sorry about by poor English, and hope you can help me learn that secrets.
Hi Nakov.com team,
“ENCRYPTION EXTRACTS 128-BIT KEY AND INITIAL VECTOR FROM THE PASSWORD”
“RANDOM SALT IS INJECTED ALONG WITH THE PASSWORD TO STRENGTHEN ENCRYPTION”.
Being curious what the above means, I tried an example on your site and another site:
plainText: “my first encryption.”
I found differences for your site vs http://www.everpassword.com/aes-encryptor
plainText: “my first encryption.”
The first portion of cipherText result STARTS OUT the same but THEN becomes different.
I have 3 followup questions about your code:
1) Do you use AES128/CTR mode or AES128/ICM mode?
2) Is “password” used as “Key128” and/or “InitialVector”?
3) If its a Key, what is the value of IV128?
4) If its an IV, what is the value of Key128?
Any insight (from either you or Mark Percival) is greatly appreciated.
How to decrypt the “encryption” after it is encoded?
In other words, I write a message and send the encrypted text-code to my friend. How then does he decrypt it?
@Richie: you need to modify the above example’s source code. Use a piece of code like this:
// var text = $(‘#text’).val();
var pass = $(‘#password’).val();
// var encrypted = GibberishAES.enc(text, pass);
var encrypted = $(‘#encryptedText’).val();
var decrypted = GibberishAES.dec(encrypted, pass);
Thanks a lot. useful.
here there are so many js libraries:
i can not decrypt this line
// decrypt encrypted mgcamd gbox line for (i = 0; i < 6; i++) key[i * 2] = mac[i]; AES_KEY aeskey; AES_set_decrypt_key(key, 128, &aeskey); for (i = 0; i < len; i+=16) AES_decrypt(buf + i,buf + i, &aeskey);
crypt key is mac adress 00:09:34:1C:55:48
thanks if you help me
Fantastic beat ! I would like to apprentice while you amend your site,
how could i subscribe for a blog website? The account aided me a acceptable deal.
I had been tiny bit acquainted of this your broadcast provided bright clear idea
Nice Implementation. I wish to know whether i can decrypt the values using php script.
Thanks for sharing your thoughts about 128-bit AES encryption
Link exchange is nothing else but it is only placing the other person’s website link on your page at appropriate place and
other person will also do same in support of you.
An amendment of my comment #1. The PHP implementation of GibberishAES now supports 128, 192, and 256-bit keys.
aesencryption.net An implementation of AES in php based on mcrypt,
After looking at a handful of the blog posts on your site, I truly like your technique of
blogging. I saved it to my bookmark site list and will be checking back
soon. Please visit my web site too and let me know your opinion.
Awesome blog you have here but I was wondering if you knew of any community forums that
cover the same topics talked about in this article? I’d really like to be a part of community
where I can get comments from other knowledgeable people that share the
same interest. If you have any recommendations, please let me know.
I got this web site from my friend who shared wih
me regarding thiis web page and at the moment thks
time I am visiting this site and reading very informative ontent att thos place.
Hello, i think that i saw you visited mmy website
so i got here to return the favor?.I’m attempting to
to find issues to enhance my site!I guess its good
enough to make use of a feww of your ideas!!
check this one is protected or not
Incredible! This blog looks exactly like my old one! It’s
on a totally different topic but it has pretty
much the same layout and design. Wonderful choice of colors!
Could you specify the Cipher Mode that is being used? (CBC, ECB, CFB, etc).
It uses CBC OpenSSL padding scheme.
Great post. Please check my tool for https://usemytools.net/aes-encryption/. This is AES Encryption Decyption tool with OpenSSL Interoperability.