crypto_password_generator_pin
Generate cryptographically random numeric PINs (0-9 digits) for device or card PINs. Options to prevent repeating or sequential digits.
Instructions
Random PIN Generator. Generate one or more cryptographically random numeric PINs (digits 0-9 only). Use this for numeric-only codes such as device or card PINs; use crypto_password_generator for mixed-character passwords or crypto_password_generator_passphrase for word-based passphrases. Randomness comes from crypto.getRandomValues. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (30 requests/min, 200/hour, 1000/day for anonymous callers). Returns the generated PINs with each PIN's length and the normalized options actually applied.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "crypto_password_generator_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Number of digits per PIN. Clamped to 4-20. When noRepeating is true, an effective length above 10 is rejected (only 10 unique digits exist). | |
| noRepeating | No | When true, no digit repeats within a PIN; this caps the usable length at 10. | |
| noSequential | No | When true, consecutive digits never differ by exactly 1 (e.g. avoids 12, 65), reducing easily-guessed runs. | |
| quantity | No | How many PINs to generate. Clamped to 1-100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pins | No | The generated PINs, one entry per requested quantity. | |
| options | No | The normalized options actually used after clamping defaults. |