RSA encryption in Java and JavaScript

Using RSA encryption to:

  1. Encrypt plain text in Java and decrypt cypher text in JavaScript.
  2. Encrypt plain text in JavaScript and decrypt cypher text in Java.

Encryption in JavaScript side

Read More

AES encryption in Java and JavaScript

In this article, I’m going to discuss about both side AES encryption in Java and JavaScript. It means:

  1. Encrypt plain text in Java and decrypt cypher text in JavaScript.
  2. Encrypt plain text in JavaScript and decrypt cypher text in Java.

JavaScript side

I use library CryptoJS for AES encryption.

Read More