Packages
A simple application to check if an email or password has been pwned using the HaveIBeenPwned? API. It requires a purchased hibp-api-key in order to use the email checking functions.
Current section
Files
Jump to
Current section
Files
lib/range/sandbox.ex
defmodule Pwned.Range.Sandbox do
@moduledoc false
def get("21BD1") do
{:ok,
"0018A45C4D1DEF81644B54AB7F969B88D65:1\r\n00D4F6E8FA6EECAD2A3AA415EEC418D38EC:2\r\n2DC183F740EE76F27B78EB39C8AD972A757:47205"}
end
def get("FCDD8") do
{:ok,
"0028B733054B5585121F1BB5F7ED30F18DA:14\r\n005B0B1E780BA4673507515800B40457170:1\r\n018D42EC45B04DF34A0258911661EDDDBCC:6\r\n01E74FE861F33EA2E8FF1E1B695F1E50289:4"}
end
end