Security
Generate Argon2id password hashes with tunable memory, iterations, parallelism, salt length, and PHC output
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/argon2-password-hash-generator' \
-H 'Content-Type: application/json' \
-d '{"password":"correct horse battery staple","memoryKiB":19456,"iterations":3,"parallelism":1,"saltLength":16,"hashLength":32}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/argon2-password-hash-generator| Name | Type | Required | Description |
|---|---|---|---|
| password | textarea | Yes | — |
| memoryKiB | number | Yes | — |
| iterations | number | Yes | — |
| parallelism | number | Yes | — |
| saltLength | number | Yes | — |
| hashLength |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-argon2-password-hash-generator": {
"name": "argon2-password-hash-generator",
"description": "Generate Argon2id password hashes with tunable memory, iterations, parallelism, salt length, and PHC output",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=argon2-password-hash-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "argon2-password-hash-generator",
"arguments": {
"password": "correct horse battery staple",
"memoryKiB": 19456,
"iterations": 3,
"parallelism": 1,
"saltLength": 16,
"hashLength": 32
}
}
}Questions or issues? Contact [email protected]
| number |
| Yes |
| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}