Skip to content

Instantly share code, notes, and snippets.

@durgapadhu
Created December 5, 2017 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save durgapadhu/7dd7fa7379bd5001b28a637aaccad85b to your computer and use it in GitHub Desktop.
Save durgapadhu/7dd7fa7379bd5001b28a637aaccad85b to your computer and use it in GitHub Desktop.
node-red-contrib-encrypt

Encrypts the given text with the given key value.

Inputs:

payload: string key: string

outputs:

Outputs the encrypted text as msg.payload. and the key will remain in the msg.key.

[{"id":"690edd74.990954","type":"encrypt","z":"77d60e61.4391a","name":"","x":455,"y":510,"wires":[["6bccb621.afe198"]]},{"id":"9f94c506.fd1988","type":"inject","z":"77d60e61.4391a","name":"","topic":"","payload":"sumat","payloadType":"str","repeat":"","crontab":"","once":false,"x":93,"y":453,"wires":[["a4d0bdb3.d8e11"]]},{"id":"6bccb621.afe198","type":"debug","z":"77d60e61.4391a","name":"","active":true,"console":"false","complete":"true","x":693,"y":438,"wires":[]},{"id":"a4d0bdb3.d8e11","type":"change","z":"77d60e61.4391a","name":"","rules":[{"t":"set","p":"key","pt":"msg","to":"rajii","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":244,"y":484,"wires":[["690edd74.990954"]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment