Check Password Prefix
check_password_prefixDirect k-anonymity lookup: pass the first 5 hex chars of a SHA-1 password hash, get back all SHA-1 suffixes with their pwned counts. Use this if you're hashing client-side and only want to send the prefix.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sha1_prefix": "21BD1"
},
"name": "check_password_prefix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha1_prefix | Yes | 5 hexadecimal characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suffixes | Yes | Array of suffix/count pairs matching this prefix | |
| sha1_prefix | Yes | The 5-character SHA-1 prefix provided | |
| suffix_count | Yes | Number of matching SHA-1 suffixes found |