| Crates.io | psph |
| lib.rs | psph |
| version | 0.0.1 |
| created_at | 2023-02-05 23:03:04.258643+00 |
| updated_at | 2023-02-05 23:03:04.258643+00 |
| description | A Rust library for generating random passwords and passphrases |
| homepage | https://minifunctions.com/ |
| repository | https://github.com/sebastienrousseau/mini-functions/tree/main/pwd/ |
| max_upload_size | |
| id | 777495 |
| size | 52,785 |
A Rust library for accessing a collection of mathematical and cryptographic constants
Website âĸ Documentation âĸ Report Bug âĸ Request Feature âĸ Contributing Guidelines
PassPhrase (PSPH) is a Rust library that empowers developers to elevate
the security of their applications with ease. PSPH generates secure
and strong passphrases using a unique combination of letters, numbers,
cases, and symbols to form an unpredictable string of characters that
doesn't resemble words or names with a high level of entropy.
PSPH uses the cmn crate for constants; the hsh crate for password
hashing, and the vrd crate for random number generation.
The Password struct is the cornerstone of PSPH, storing the
generated passphrase, as well as the optional special characters and
separators to use. This struct also provides a range of functions for
evaluating the security of the password, such as entropy calculation,
hash generation, password validation, and much more.
It takes just a few minutes to get up and running with psph.
psph requires Rust 1.67.0 or later.
âšī¸ Info: Please check out our website for more information and find our documentation on docs.rs, lib.rs and crates.io.
To use psph in your project, add the following to your
Cargo.toml file:
[dependencies]
psph = "0.0.1"
Add the following to your main.rs file:
extern crate psph;
use psph::*;
then you can use the functions in your application code.
PSPH comes with a set of examples that you can use to get started. The
examples are located in the examples directory of the project. To run
the examples, clone the repository and run the following command in your
terminal from the project root directory.
cargo run --example psph
For transparency into our release cycle and in striving to maintain
backward compatibility, PSPH follows semantic versioning.
The project is licensed under the terms of both the MIT license and the Apache License (Version 2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
A big thank you to all the awesome contributors of Mini Functions for their help and support.