An Introduction to Cryptography and Linear Feedback Shift Registers

All around us data is transferred faster than ever. Sensitive data is also part of our everyday life. To protect that data, we use encryption. When we encrypt data, it changes in some way that renders it useless to the possible viewer, but that can be changed back to its

Read More

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