Android Random String Create generateRandom()

Here you can find the source of generateRandom()

Description

generate Random

Declaration

public static String generateRandom() 

Method Source Code

//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();
    }
}

Related

  1. randomString(int size)
  2. randomIVString()
  3. getRandomString()
  4. getRandomPwd()
  5. genRandomString(int pLength)
  6. randomAlphaNumeric(int length)