> Command_Prompt_Blog \
  • Home
  • Acronyms
  • Cheat-Sheets
  • User Manuals

AES

Elliptic Curve Diffie-Hellman and AES Example in Node.JS

Elliptic Curve Diffie-Hellman and AES Example in Node.JS

Recently I learned how to generate shared secrets using ECDH in Node.JS, but I still had to know how to use this shared secret. Here is one application for it. Use the ECDH to generate a shared secret and then use that shared secret to cipher/decipher messages between
Hec P. 18 Dec 2017

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)
Hec P. 08 Dec 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
Hec P. 16 Apr 2017
> Command_Prompt_Blog \ © 2026. Powered by Ghost