Open-source, simple, customizable and convenient Key Generator (in development).
## Review
* gen_one
- Generate one key (returns Result<String, &'static str
)
* gen
- Generates the nth
number of keys (-n
is passed in the argument)
rs
pub struct KeyGen {
/// `length` - key length
length: usize,
/// `symbols` - a flag that can
/// enable/disable symbols to key gen.
symbols: bool,
/// `numbers` - a flag that can
/// enable/disable numbers to key gen.
numbers: bool,
/// `uppercase` - a flag that can
/// enable/disable uppercase symbols to key gen.
uppercase: bool,
/// `lowercase` - a flag that can
/// enable/disable lowercase symbols to key gen.
lowercase: bool,
/// `space` - a flag that can
/// enable/disable space - ` ` to key gen.
space: bool,
}
## Documentation
The main doc is available at docs.rs
.
## Contributing
KeyGen
open for contribution.
Contact Us: qmvscorpio@gmail.com