Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.62 KB

File metadata and controls

56 lines (44 loc) · 1.62 KB
title JavaScript Asymmetric String Encryption using "node-forge"
keywords sample
summary Asymmetric String Encryption in JavaScript
permalink javascript_forge_asymmetric_string_encryption.html
folder JavaScript Forge
references
url description
node-forge
authors
name url
Tobias Hirzel
current_reviews
last_updated 2018-11-27
tags
JavaScript
Node.js
node-forge
RSA
Asymmetric
String
Encryption

Use cases

  • Usable on server side, not intendend, for use on client side/in Browsers
  • All can encrypt a message using the public key, but only the recipient can decrypt it using the private key
  • Encrypt a string, using the public key and decrypting it, using the private key

node version

  • 10.13.0

JavaScript Version

  • ECMAScript 6 and higher

Installation

Example Code for JavaScript Asymmetric String Encryption using RSA 4096

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

{% include links.html %}