ex_pwned v0.2.0 ExPwned.Passwords View Source

Module to interact with HIBP API to retrive breached passwords data.

Link to this section Summary

Functions

Returns true|false, or {:error, “reason for error, probably HTTP/Network related”}

Returns an integer representing the number of times this password has been seen in a breach. Can be zero, representing no breaches

Link to this section Functions

Returns true|false, or {:error, “reason for error, probably HTTP/Network related”}

Link to this function call_api(partial_hash, hash_suffix) View Source
Link to this function handle_success(body, hash_suffix) View Source
Link to this function password_breach_count(password) View Source

Returns an integer representing the number of times this password has been seen in a breach. Can be zero, representing no breaches.