Node-RED node for Crypto Storage with Block/Stream Ciphers
npm install node-red-contrib-crypto-storageThis 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.
~/.node-rednpm install node-red-contrib-crypto-storage
- :information_source: Encrypt: POST localhost:1880/encrypt
- :information_source: 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).
:warning: In the case of AES, the __mode__ (CBC/CFB/OFB/CTR) parameter must also be set!
---
!CE1
---
!CE2
---
!DE1
---
!DE2
- :information_source: AES: POST localhost:1880/blockStore
- :information_source: 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:
:warning: In the case of AES, the __mode__ (CBC/CFB/OFB/CTR`) parameter must also be set!
!CSO
---
!CSB1
---
!CSB2
---
!DSB1
---
!DSB2