Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.62 KB

javascript_forge_string_encryption_asymmetric_forge.md

File metadata and controls

56 lines (44 loc) · 1.62 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
JavaScript Asymmetric String Encryption using "node-forge"
sample
Asymmetric String Encryption in JavaScript
javascript_forge_asymmetric_string_encryption.html
JavaScript Forge
url description
node-forge
name url
Tobias Hirzel
2018-11-27
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 %}