
net.anotheria.util.PasswordGenerator Maven / Gradle / Ivy
package net.anotheria.util;
import java.util.Random;
/**
* A simple utility for creation of safe passwords.
*
* @author another
* @version $Id: $Id
*/
public class PasswordGenerator {
private final static int[] RANGE_BEGIN = {
33,
65,
97,
};
private final static int[] RANGE_END = {
59,
90,
122,
};
/**
* Internal holder for useable characters.
*/
private final static char[] CHARS;
static{
int sum = 0;
for (int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy