rusterpassword 0.1.0

An implementation of the Master Password algorithm.
docs.rs failed to build rusterpassword-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rusterpassword-0.2.3

rusterpassword crates.io Build Status API Docs unlicense

A Rust implementation of the Master Password algorithm.

Uses secstr secure strings and libsodium through sodiumoxide's underlying libsodium-sys.

Also includes a C API for calling from other languages.

Usage

extern crate secstr;
extern crate rusterpassword;
extern crate sodiumoxide;

use secstr::*;
use rusterpassword::*;

fn main() {
    sodiumoxide::init();
    let master_key = gen_master_key(SecStr::from("Correct Horse Battery Staple"), "Cosima Niehaus").unwrap();
    let site_seed = gen_site_seed(&master_key, "twitter.com", 5).unwrap();
    let password = gen_site_password(site_seed, TEMPLATES_MAXIMUM);
}

Contributing

Please feel free to submit pull requests! Bugfixes and simple non-breaking improvements will be accepted without any questions :-)

By participating in this project you agree to follow the Contributor Code of Conduct.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.