Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
fe70abb8f4 | |
![]() |
f1052f215d | |
![]() |
9080fd2bbf | |
![]() |
a1d6cc2816 |
|
@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "division_of_one"
|
name = "division_of_one"
|
||||||
version = "0.1.3"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rand",
|
"rand",
|
||||||
]
|
]
|
||||||
|
@ -74,13 +74,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rand"
|
name = "rand"
|
||||||
version = "0.9.0"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
|
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
"rand_core",
|
"rand_core",
|
||||||
"zerocopy",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
@ -7,10 +7,10 @@ keywords = ["passphrase", "password"]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
name = "division_of_one"
|
name = "division_of_one"
|
||||||
repository = "https://six-five-six-four.com/git/reactor/division_of_one"
|
repository = "https://six-five-six-four.com/git/reactor/division_of_one"
|
||||||
version = "0.1.3"
|
version = "1.0.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = { version = "0.9.0", features = ["unbiased"] }
|
rand = { version = "0.9.1", features = ["unbiased"] }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
`division_of_one`
|
`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
|
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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use rand::{seq::IndexedRandom as _, Rng as _};
|
use rand::{Rng as _, seq::IndexedRandom as _};
|
||||||
|
|
||||||
pub fn main() -> Result<(), String> {
|
pub fn main() -> Result<(), String> {
|
||||||
let mut args = std::env::args();
|
let mut args = std::env::args();
|
||||||
|
|
Loading…
Reference in New Issue