Compare commits

...

3 Commits

Author SHA1 Message Date
_ f1052f215d bump version 2025-07-15 06:29:39 +00:00
_ 9080fd2bbf add example to README 2025-07-15 06:29:12 +00:00
_ a1d6cc2816 cargo fmt 2025-07-15 06:28:11 +00:00
3 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@ keywords = ["passphrase", "password"]
license = "AGPL-3.0"
name = "division_of_one"
repository = "https://six-five-six-four.com/git/reactor/division_of_one"
version = "0.1.3"
version = "0.1.5"
[dependencies]
rand = { version = "0.9.0", features = ["unbiased"] }

View File

@ -1,8 +1,12 @@
`division_of_one`
A diceware passphrase generator, e.g. `correct horse battery staple`
Generates diceware passphrases, PINs, and IDs, for example:
Also generates PINs.
```
thus disco spent rise trap suds wagon bath
607020291
7QARXWJZ
```
Install with `cargo install division_of_one` or download the Windows exe from my Git forge: https://six-five-six-four.com/git/reactor/division_of_one

View File

@ -1,4 +1,4 @@
use rand::{seq::IndexedRandom as _, Rng as _};
use rand::{Rng as _, seq::IndexedRandom as _};
pub fn main() -> Result<(), String> {
let mut args = std::env::args();