scrypt_derive
Derive a cryptographic key from a password using Scrypt, with optional hex-encoded salt. Returns derived key and salt as hex.
Instructions
Derive key using Scrypt.
Args: password: Password to derive from. salt: Hex-encoded salt (optional, will generate if not provided).
Returns: Dictionary with 'derived_key' (hex) and 'salt' (hex).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"password": "<password>"
},
"name": "scrypt_derive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | No | ||
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||