original post date: July 26, 2016
Overview
Using JS encryption is a viable option when HTTPS is not available, or when front-end security needs to be increased.
Crypto-js supports Hashes like MD5/SHA-1/SHA-2/SHA-3/HMAC/PBKDF2, and ciphers like AES/DES/3DES/Rabbit/RC4/RC4Drop, with optional Block Modes and Padding. It can load a single mode only.
Link: https://code.google.com/archive/p/crypto-js/ && https://github.com/brix/crypto-js