Package Information
Released: 6/4/2025
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.2
Author: skyrocketr
Documentation
n8n-nodes-password-hash-generator
This is an n8n community node. It lets you generate random passwords and hash them using various algorithms in your n8n workflows.
The Password Hash Generator node allows you to create secure random passwords and hash them using popular cryptographic algorithms including SHA-256, SHA-512, MD5, SHA-1, and Bcrypt.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
The Password Hash Generator node supports the following operations:
- Generate Passwords: Create one or more random passwords with configurable length and character sets
- Hash Passwords: Hash the generated passwords using various algorithms:
- Bcrypt: Secure adaptive hash function with configurable salt rounds
- SHA-256: Cryptographic hash function producing 256-bit hash
- SHA-512: Cryptographic hash function producing 512-bit hash
- MD5: 128-bit hash function (legacy, not recommended for security)
- SHA-1: 160-bit hash function (legacy, not recommended for security)
Configuration Options
- Number of Passwords: Generate 1-100 passwords per execution
- Password Length: Set password length from 4-128 characters
- Character Set: Choose from:
- Alphanumeric + Symbols (letters, numbers, special characters)
- Alphanumeric Only (letters and numbers)
- Letters Only (uppercase and lowercase)
- Numbers Only (0-9)
- Hash Algorithm: Select the hashing algorithm
- Salt Rounds: Configure bcrypt salt rounds (4-15, higher = more secure but slower)
- Include Plain Text: Option to include the original password in output
Compatibility
- Minimum n8n version: 0.190.0
- Node.js version: 20.15 or higher
- Tested with n8n versions: 0.190.0+
Usage
Basic Password Generation
- Add the Password Hash Generator node to your workflow
- Configure the number of passwords and length
- Select your preferred character set
- Choose a hashing algorithm
- Execute the node
Output Structure
The node outputs an array of password objects, each containing:
{
"passwords": [
{
"index": 1,
"hash": "hashed_password_string",
"algorithm": "sha256",
"plainText": "original_password" // if "Include Plain Text" is enabled
}
],
"totalGenerated": 5,
"algorithm": "sha256",
"passwordLength": 12,
"characterSet": "alphanumericSymbols"
}
Security Recommendations
- Use Bcrypt for storing user passwords in databases
- Use SHA-256 or SHA-512 for general-purpose hashing
- Avoid MD5 and SHA-1 for security-critical applications
- Set bcrypt salt rounds to 10-12 for good security/performance balance
- Only enable "Include Plain Text" when necessary for your workflow
Example Use Cases
- User Registration: Generate temporary passwords for new user accounts
- API Key Generation: Create random tokens for API authentication
- Database Seeding: Generate test user data with hashed passwords
- Security Testing: Create password lists for penetration testing
- Backup Codes: Generate secure backup authentication codes