sense-rsa 2.1.5

Encrypt or decrypt anything to RSA

npm install sense-rsa

This module contains three nodes for Node-RED which allow you to easily create a keypair and encrypt or decrypt messages.

rsa-encrypt: encrypts input payload (strings or objects) using an RSA public key. Outputs an encrypted Base64 string. Alternatively, when a message topic has been set to 'public-key', this will set the public key of this node to the incoming msg.payload.

rsa-decrypt: decrypts input payload using an RSA private key. Outputs a string or JSON object. Alternatively, when a message topic has been set to 'private-key', this will set the according private key of this node to msg.payload.

rsa-generate-keypair: Generates a new RSA keypair. This node can be connected to rsa-encrypt and rsa-decrypt to set their keys to the newly generated values.

Node Info

Version: 2.1.5
Updated 5 years, 6 months ago
License: ISC
Rating: 4.7 3

Categories

Actions

Rate:

Downloads

69 in the last week

Nodes

  • rsa-encrypt
  • rsa-decrypt
  • rsa-generate-keypair

Keywords

  • node-red

Maintainers