Package Information
Downloads: 44 weekly / 55 monthly
Latest Version: 0.0.3
Author: Melvin Otieno
Available Nodes
Documentation
Bcrypt Node
The Bcrypt node for n8n provides password hashing and verification using the bcrypt package. It is useful for securely storing and comparing passwords or other sensitive data in your workflows.
Features
- Hash plain text values using bcrypt.
- Compare plain text values against bcrypt hashes.
- Configure salt rounds for hashing.
Properties
| Property | Description |
|---|---|
| Action | Choose between "Hash" and "Compare". |
| Plain Text | The plain text value to hash or compare. |
| Salt Rounds | (Hash only) Number of salt rounds (default: 10). |
| Hash Text | (Compare only) The bcrypt hash to compare against. |
Example Usage
Hashing a Value
- Set Action to "Hash".
- Enter the plain text to hash.
- (Optional) Set the number of salt rounds.
Output:
{
"hash": "$2b$10$..."
}
Comparing a Value
- Set Action to "Compare".
- Enter the plain text value and the bcrypt hash.
Output:
{
"match": true
}