An MCP (Model Context Protocol) server providing password encryption and hashing tools.
- Bcrypt hashing - Recommended for password storage
- SHA-256 hashing - Fast cryptographic hash
- PBKDF2 hashing - Key derivation function with salt
- Fernet encryption - Symmetric encryption for reversible operations
- Password verification - Verify bcrypt hashes
git clone <repository-url>
cd pasword-crypt
pip install -e .Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"password-crypt": {
"command": "py",
"args": ["main.py"],
"cwd": "/path/to/pasword-crypt"
}
}
}Once connected to Claude Desktop, you can use commands like:
- "Encrypt the password 'mypassword123' using bcrypt"
- "Hash 'secretpassword' with SHA-256"
- "Encrypt 'admin123' with PBKDF2"
- "Verify if password 'test123' matches this bcrypt hash"
encrypt_password_bcrypt(password)- Bcrypt hash with saltencrypt_password_sha256(password)- SHA-256 hashencrypt_password_pbkdf2(password, salt=None)- PBKDF2 with configurable saltencrypt_password_fernet(password, key=None)- Fernet symmetric encryptionverify_bcrypt_password(password, hashed)- Verify bcrypt hash
- Bcrypt includes automatic salt generation
- PBKDF2 uses 100,000 iterations for security
- Fernet generates secure keys automatically
- All operations use secure cryptographic libraries
# Install in development mode
pip install -e .
# Run the server directly
py main.pyMIT License