pwchecker-rs

Crates.iopwchecker-rs
lib.rspwchecker-rs
version0.1.5
sourcesrc
created_at2021-03-23 18:26:32.153456
updated_at2021-04-26 05:52:10.454772
descriptionA library that consumes the pwned passwords API from haveibeenpwned.com
homepage
repositoryhttps://github.com/masonj188/pwchecker-rs/
max_upload_size
id372671
size6,854
Mason Johnson (masonj188)

documentation

README

pwchecker-rs

pwchecker-rs exports a single function check_for_pwnage that takes a string a returns results from haveibeenpwned.com.

The returned value is a Result<Passwd, Error>, the Passwd struct has the public fields text which contains the password, and times_pwned which contains the number of times the password has been pwned.

Commit count: 10

cargo fmt