Module
PwnedPasswords
- Package
- purescript-pwned-passwords
- Repository
- maxdeviant/purescript-pwned-passwords
#PasswordStatus Source
data PasswordStatus
The status of a password after checking it against Pwned Passwords.
Constructors
NotFound
Pwned Int
The password appears in a data breach indexed by Pwned Passwords. The number indicates the number of times the password has been seen. This password should never be used!
Instances
#printError Source
printError :: Error -> String
#pwned Source
pwned :: String -> Aff (Either Error PasswordStatus)
Checks the specified password against Pwned Passwords to determine whether it is safe for use.
- Modules
- PwnedPasswords
- Sha1
The password was not found in the Pwned Passwords index. This does not necessarily mean it is a good password, just that it has not appeared in any data breaches that Pwned Passwords has in its index.