| Crates.io | vaultkey |
| lib.rs | vaultkey |
| version | 0.1.1 |
| created_at | 2025-04-09 18:19:48.775479+00 |
| updated_at | 2025-04-09 19:11:09.820293+00 |
| description | A secure and customizable password generator library for Rust, designed to create strong, random passwords with various configuration options. |
| homepage | |
| repository | https://github.com/t1ltxz-gxd/vaultkey |
| max_upload_size | |
| id | 1627146 |
| size | 222,787 |
Rust library for generating secure and customizable passwords. With support for various character sets and lengths, it helps you create strong and random passwords for any use case, ensuring high security for your applications.
Add the following to your Cargo.toml file:
[dependencies]
vaultkey = {version = "*"}
use vaultkey::PasswordBuilder;
fn main() {
for i in 0..10 {
let password = PasswordBuilder::default()
.length(50)
.with_uppercase(true)
.min_digits(2)
.min_specials(2)
.avoid_ambiguous(true)
.build()
.unwrap();
println!("Generated password {}: {}", i + 1, password);
}
}
Generated password 1: Y*4M>{e/>rDh:j=?K[]@9E#s|L&@k=BSpq9L+r@*RK_u>D;a-5
Generated password 2: 6.8CRjvc%4?JB[#$f3qmkX8dB@jC{|$-}4Ruh%+j|q)$raBv}Y
Generated password 3: qWTo%{^8,=bYQ]y3{3=xV869_Dy67%q7wbq!-xR.gv,eF]f>E}
Generated password 4: b?}..{=ued2axY@FHFcBr|]%{b{r*@2RErJKVK((.34v{(?e!2
Generated password 5: rF8n%ia%?8K4]52.gD86K,<$fH&%yg77;P?_#+G9JAtr::GWLp
Generated password 6: v#ZY>#tH[ufX+=4eYYX}$sQ<=3-8([j%f<dJdXadyc]3E,yB!8
Generated password 7: SWcAy%WsE#d]bZj2#!$5cffw&-@!9n_{83wEmu]/P:#>;wV_5j
Generated password 8: 63#wX=vVStBY?_:+S-|_mt6.u;/n+}|S+Qvetp95PCG|st&;2t
Generated password 9: YryFs}(!9Nq#?-$z!<huF8$8=ufg4m<QWZTaNMLr)n4>5sm/)]
Generated password 10: bM+HQ!t[s2b)8q%6R|&Sa-4m9/T_[=imjDEZr>a&&gnN_-iRqQ
examples folder.Contributions are what make the open source community an amazing place to learn, be inspired, and create. Any contributions you make are greatly appreciated.
git clone https://github.com/t1ltxz-gxd/vaultkey.gitgit checkout -b feat-smth-amazinggit add .git commit -m 'feat: add some amazing feature'
fix, feat, docs, style, refactor, perf, test, chore prefixes.git push origin feat-smth-amazingReleased with ❤️ by Tilt.