Archive

Posts Tagged ‘Java-Random’

Generate Random Password in Java

January 16th, 2009

This article demonstrates how to generate random password or string using java.util.Random.

You can define your own set of characters in this string variable

private static final String charset = "!0123456789abcdefghijklmnopqrstuvwxyz";

Class: RandomPassword.java
Read more...

Programming ,