passphrase_lib

Crates.iopassphrase_lib
lib.rspassphrase_lib
version1.0.4
sourcesrc
created_at2019-05-02 08:36:22.496032
updated_at2020-12-06 09:13:51.177837
descriptionPasshrase is a pure Rust crate focused on generating solid passphrases at the touch of a button , giving users the ability to generate memorable strong passphrases that takes thousands of years to crack using specialized password cracking computers or taking forever for normal computers to crack.
homepage
repositoryhttps://github.com/iamcharleschege/passphrase_lib.git
max_upload_size
id131513
size24,314
CharlesĀ·Chege (charleschege)

documentation

README

passphrase_lib

Passhrase is a pure Rust crate focused on generating solid passphrases at the touch of a button , giving users the ability to generate memorable strong passphrases that takes thousands of years to crack using specialized password cracking computers or taking forever for normal computers to crack.

At the moment(an English only version is coming soon), it combines English and Swahili dictionaries of short easy to type words. The zxcvbn crate, a password strength estimator based off of Dropbox's zxcvbn library, has been used to counter-check how long it would take to crack the password, the number of guesses it would need and the number of years it would take to crack the passphrase.

However, kindly node that this is only a passphrase generator and you need to hash it with a good hashing algorithm (I recommend argon2 implementations) for use to store in a database

WARNING!!! NEVER STORE THE PLAIN TEXT VERSION OF A PASSPHRASE


use cargo add passphrase to install to add to your Cargo.toml file.

To add it manually to Cargo.toml file.

[dependencies]
passhrase_lib = #enter the version from crates.io here

Usage:

use passhrase;
fn main() {
		// Generate a random passphrase
	let random_number = passphrase_lib::gen_passphrase();

		//Generate a random url
	let random_url = passphrase_lib::gen_url();
}

Commit count: 15

cargo fmt