Cryptographic Password Entropy measures the predictability and complexity of a security string. Measured in bits, entropy represents the size of the key search space. A higher entropy value means that the password has a larger number of possible combinations, making brute-force dictionary attacks mathematically unfeasible.
Mathematical Entropy Calculation:
The entropy $E$ of a random password of length $L$ selected from a character pool size $R$ is calculated as:
E = L × log₂ (R) Where $R$ is the size of the set of characters available (e.g., lowercase only is 26, mixed alphanumeric is 62, mixed with symbols is 94).
Password Leak Auditing & Privacy Sandboxing
Many online credential audits expose your values to servers during checks, creating secondary security hazards. KeyGuard uses the k-Anonymity model to securely check leak status.
How Anonymized Breach Checks work:
- SHA-1 Hashing: The password is locally hashed to SHA-1 (e.g.
5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8). - 5-Character Range Query: We send only the first 5 characters (
5BAA6) to the HIBP server database. - Client-Side Verification: The database returns all matching suffixes. The application matches the remaining 35 characters locally. The full password is never exposed to the internet.