public String randomString(int len){
  StringBuilder buff=new StringBuilder();
  for (int i=0; i < len; i++) {
    String from=(i % 2 == 0) ? "bdfghklmnpqrst" : "aeiou";
    buff.append(from.charAt(getInt(from.length())));
  }
  return buff.toString();
}

public String randomString ( int len ) { StringBuilder buff = new StringBuilder ( ) ; for ( int i = 0 ; i < len ; i ++ ) { String from = ( i % 2 == 0 ) ? "bdfghklmnpqrst" : "aeiou" ; buff . append ( from . charAt ( getInt ( from . length ( ) ) ) ) ; } return buff . toString ( ) ; }
get a random string with the given length .
