Exploring javascript encryption

A demonstration page for encrypting and decrypting text using RSA and AES encryption methods on the client side using Javascript. Experimenting with encryption and decryption using different JavaScript encryption libraries. View project source on GitHub here: jamesrwilliams/javascript-encryption

RSA

Public key (asymmetric) encryption/decryption with RSA using jsencrypt.


Load a sample RSA private & public key: 1024-bit, 2048-bit. For the love of everything don't actually use these keys for anything important.

AES (Advanced Encryption Standard)

Encryption using the AES Counter (CTR) mode of operation, utilizing aes-js. Read more about the Counter mode of operation.


A random string of bits created explicitly for scrambling and unscrambling data as either 128-bit, 192-bit or 256-bit arrays. Use a sample key: 128-bit, 192-bit, or 256-bit.
Enter a specific number here to decrypt, or leave blank for randomly generated counter.