Check a password hash prefix
leakdata.password_prefix_checkCall this only when the current user message supplies a locally computed five-character SHA-1 hash prefix and asks to check it. Never invent a prefix or reuse one from an earlier message. For general questions about password checks, explain local SHA-1 computation and sharing only its first five hexadecimal characters without calling a tool. Never accept a plaintext password or complete hash. Report only the aggregate values actually returned by this call. Results describe a prefix group only. A matching prefix does not establish whether a particular password is exposed. Do not report confirmed password exposure or recommend changing a password based only on this result. An empty group does not prove that a password is safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | Five-character SHA-1 hash prefix supplied in the current user message. Never infer it from earlier messages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | Whether any known hashes share this five-character prefix. A match does not establish that a particular password is exposed. | |
| totalOccurrences | Yes | Total occurrences across all hashes in the prefix group, not an exposure count for one specific password. | |
| candidateHashCount | Yes | Number of distinct known hashes sharing the prefix, not matches for one specific password. |