/leaked_passwords

Checking for leaked passwords through haveibeenpwned v2 API using the hash-range checker

Primary LanguageElixir

LeakedPasswords

VERY BETA

usage:

iex> LeakedPasswords.leaked?("my_password")
896

iex> LeakedPasswords.leaked?("my_super_safe_unknown_password")
false

Installation

If available in Hex, the package can be installed by adding leaked_passwords to your list of dependencies in mix.exs:

def deps do
  [
    {:leaked_passwords, git: "https://github.com/tarzan/leaked_passwords.git"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/leaked_passwords.