Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.49 KB

javascript_string_encryption_key_based_symmetric_crypto.md

File metadata and controls

56 lines (44 loc) · 1.49 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
Java String Encryption with key generation using Nodes native "Crypto" Library
sample
String encryption in JavaScript with key generation
javascript_string_encryption_key_based_symmetric.html
JavaScript Crypto
url description
Node.js Crypto
name url
Tobias Hirzel
2018-11-27
JavaScript
Node.js
node-crypto
AES
GCM
Salt
AEAD

Use cases

  • Usable on server side, not intended for use on client side
  • Random key generation
  • String encryption

node version

  • 10.13.0

JavaScript Version

  • ECMAScript 6 and higher

Installation

  • crypto is is a native node module, no installation is required
  • Winston logger

Example Code for JavaScript String Encryption with key generation using AES-GCM

{% include_relative src/allinone/ExampleStringEncryptionKeyBased.js %}

{% include links.html %}