Here you can find the source of generateRandom()
public static String generateRandom()
//package com.java2s; import java.util.Random; public class Main { public static String generateRandom() { Random number = new Random(); StringBuilder message = new StringBuilder(); for (int i = 0; i < 1405; i++) { message.append('a' + number.nextInt(52)); }/*from ww w . j av a2s . c o m*/ return message.toString(); } }