node-red-contrib-hash-helper 0.0.3
Node-RED node for generating and verifying SHA hashes
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)
Generating Hash :inbox_tray: :arrow_right:
- Setting the payload of the Generate Hash injector:
 
Hash Result :receipt: :back:
- Hash response payload:
 
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:
 
HMAC Result :receipt: :back:
- HMAC response payload:
 
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.
Verifying Hash :inbox_tray: :arrow_right:
- Setting the payload of the Verify Hash injector:
 
Hash Verification Result :receipt: :back:
- Hash response payload:
 
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:
 
HMAC Verification Result :receipt: :back:
- HMAC response payload: