A minimalistic library for generating random passwords.
- Adjustable length for the passwords (default: 50)
- Passwords can be re-shuffled after creation
- Easy to use character sets
- Adjustable character sets
- Printable passwords
// create a generator
Generator generator = new Generator();
// select character sets (capital letters are included automatically)
// (You can toggle them off with the toggleCase() method.)
generator.use(Set.ALPHABET, Set.DIGITS, Set.BRACKETS, Set.SPECIAL);
// generate and print new password
System.out.print(generator.generate());
// output -> Q0>[2d$}w§[74=00¥b<$5)[6g)1)([*2£0ABg?
abcdefghijklmnopqrstuvwxyäöå
0123456789
()[]{}<>
!£$%&?+#€¤¢¥¦§©+*/-=