Function rustgenpass::generate_with_url
source · [−]Expand description
Generate a hashed password from URL with default options.
Arguments
password
- Master password to generate hashed password fromurl
- URL to generate password for, will be stripped to domain
Examples
use rustgenpass::generate_with_url;
let generated_password = generate_with_url("masterpassword", "https://www.example.com/foo/bar.html");
assert_eq!("jHMOHn7bRs", generated_password);