Sha256: 09478a3b9836c9a054374b85c2e8185fa4761e80db785c2dc636b17dd2c8ccab
Contents?: true
Size: 331 Bytes
Versions: 4
Compression:
Stored size: 331 Bytes
Contents
extern crate libpasta; // We re-export the rpassword crate for CLI password input. use libpasta::rpassword::*; fn main() { let password = prompt_password_stdout("Please enter your password:").unwrap(); let password_hash = libpasta::hash_password(&password); println!("The hashed password is: '{}'", password_hash); }
Version data entries
4 entries across 4 versions & 1 rubygems