passwors 0.1.0

Passwors is a simple password handling library that utilises Rust's type system to enfore better password handling. Use it as a basic building block for more complex authentication systems. let pw = ClearTextPassword::from_string(some_password_source).unwrap(); let salt = HashSalt::new().unwrap(); // You should grab this from your database. let a2hash = Argon2PasswordHasher::default(); let pw_hash = pw.hash(&a2hash, &salt); assert_eq!(pw_hash, stored_hash, "Login failed!");
Builds

passwors's sandbox limits

All the builds on docs.rs are executed inside a sandbox with limited resources. The limits for this crate are the following:

Available RAM 6 GB
Maximum rustdoc execution time 15 minutes
Maximum size of a build log 100 kB
Network access blocked
Maximum number of build targets 10

If a build fails because it hit one of those limits please open an issue to get them increased.