node-red-contrib-hash-helper 📦
This is a subflow node for generating and verifying SHA digested hashes from user defined payload.
Install ⚡
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-hash-helper
Generator API ⚙️
- ℹ️ 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 📥 ➡️
- Setting the payload of the Generate Hash injector:
Hash Result 🧾 🔙
- Hash response payload:
Generating HMAC 📥 ➡️
HMAC
, the key parameter must also be set!
- Setting the payload of the Generate Hash injector:
HMAC Result 🧾 🔙
- HMAC response payload:
Verifier API 🧰
- ℹ️ 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 📥 ➡️
- Setting the payload of the Verify Hash injector:
Hash Verification Result 🧾 🔙
- Hash response payload:
Verifying HMAC 📥 ➡️
HMAC
, the key parameter must also be set!
- Setting the payload of the Verify Hash injector:
HMAC Verification Result 🧾 🔙
- HMAC response payload: