node-red-contrib-hash-helper 0.0.3

Node-RED node for generating and verifying SHA hashes

npm install node-red-contrib-hash-helper

node-red-contrib-hash-helper :package:

This is a subflow node for generating and verifying SHA digested hashes from user defined payload.

Install :zap:

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-contrib-hash-helper

Generator API :gear:

  • :information_source: POST localhost:1880/generate

The data payload can be either a string or an object, you must define the function to use (SHA/HMAC) and the version of the algorithm (1/224/256/384/512/3)

GeneratorAPI

Generating Hash :inbox_tray: :arrow_right:

  • Setting the payload of the Generate Hash injector:

SHA1

Hash Result :receipt: :back:

  • Hash response payload:

SHA2


Generating HMAC :inbox_tray: :arrow_right:

:warning: In the case of HMAC, the key parameter must also be set!

  • Setting the payload of the Generate Hash injector:

HMAC1

HMAC Result :receipt: :back:

  • HMAC response payload:

HMAC2

Verifier API :toolbox:

  • :information_source: POST localhost:1880/verify

The data payload can be either a string or an object, you must define the function to use (SHA/HMAC), the version of the algorithm (1/224/256/384/512/3) and the hash to verify.

VerifierAPI

Verifying Hash :inbox_tray: :arrow_right:

  • Setting the payload of the Verify Hash injector:

SHA3

Hash Verification Result :receipt: :back:

  • Hash response payload:

SHA4


Verifying HMAC :inbox_tray: :arrow_right:

:warning: In the case of HMAC, the key parameter must also be set!

  • Setting the payload of the Verify Hash injector:

HMAC3

HMAC Verification Result :receipt: :back:

  • HMAC response payload:

HMAC4

Node Info

Version: 0.0.3
Updated 2 years, 5 months ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

4 in the last week

Keywords

  • node-red-nodegen
  • hash
  • sha
  • hmac
  • node-red

Maintainers