📦
node-red-contrib-crypto-storage This is a subflow node for encrypting / decrypting payloads and creating encrypted stores on the specified folder utilizing AES for Block Ciphering and Rabbit for Stream Ciphering preserving the confidentiality of payloads.
⚡
Install Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-crypto-storage
🔐
Cipher API ℹ️ Encrypt: POST localhost:1880/encryptℹ️ Decrypt: POST localhost:1880/decrypt
The plaintext payload can be either a string or an object, you must define the function to use (encrypt
/decrypt
), the cipher key and the type of cipher to use (AES
/Block Cipher or Rabbit
/Stream Cipher).
AES
, the mode (CBC/CFB/OFB/CTR
) parameter must also be set!
🔑 ➡️
Cipher Encrypt Payload - Setting the payload of the Cipher Encrypt injector:
🔒 🔙
Cipher Encrypt Result - Encryption response payload:
🔑 ➡️
Cipher Decrypt Payload - Setting the payload of the Cipher Decrypt injector:
🔓 🔙
Cipher Decrypt Result - Decryption response payload:
🧰
Cipher Store API ℹ️ AES: POST localhost:1880/blockStoreℹ️ Rabbit: POST localhost:1880/streamStore
The plaintext payload can be either a string or an object, you must define the function to use (encrypt
/decrypt
), the cipher key and the filename of the crypto storage.
You firstly need to define the path of the store in the properties of the subflow:
AES
, the mode (CBC/CFB/OFB/CTR
) parameter must also be set!
🔑 ➡️ 🧰
Store Encrypt Payload - Setting the payload of the Store Encrypt injector:
🔒 🔙 🧰
Store Encrypt Result - Store encryption response payload:
🔑 ➡️ 🧰
Store Decrypt Payload - Setting the payload of the Store Decrypt injector:
🔓 🔙 🧰
Store Decrypt Result - Store decryption response payload: