Password Compromise Checker

In this app, the password entered is hashed using SHA1 and then split into two parts: the prefix and the suffix. The prefix is used to make a request to the HaveIBeenPwned API, which returns a list of all hashes that start with the same prefix. Then checks if the suffix of the user’s hash is present. If it is, the password has been pwned. If the suffix is not present, the password has not been found in any known data breaches.