Java tutorial
//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)); } return message.toString(); } }