Tech Rescue
  • Home
  • Acronyms
  • Cheat-Sheets
  • User Manuals

AES

How to Encrypt / Decrypt with AES in Node.JS

Easy as pie! var crypto = require('crypto'); var AES128 = "aes128"; var AES192 = "aes192"; var AES256 = "aes256"; var password = 'Austin'; var plainText = 'Texas to the bone!'; // ------------------------------------------------ var cipher = crypto.createCipher(AES128, password); var decipher = crypto.createDecipher(AES128, password); console.log('AES-128:'); // Encrypting with AES128 var encText = cipher.update(
Hector Perez Dec 8, 2017

How to Encrypt / Decrypt with AES in Java 1.8

Here I have created a class that does it in two different ways, the first one is, when you create the key, and the other is when you are given the key, valid key sizes are 128, 192, and 256 for AES algorithm. There is some steps to follow before
Hector Perez Apr 16, 2017
Tech Rescue © 2025. Powered by Ghost