Android Random String Create getRandomString()

Here you can find the source of getRandomString()

Description

get Random String

Declaration

static String getRandomString() 

Method Source Code

//package com.java2s;

import java.security.SecureRandom;

public class Main {
    static String getRandomString() {
        final SecureRandom random = new SecureRandom();
        return String.valueOf(random.nextLong());
    }/*from ww  w  . ja v a 2  s .  co m*/
}

Related

  1. getRandomString(int len)
  2. getRandomStr(int length)
  3. getRandomString(int length)
  4. randomString(int size)
  5. randomIVString()
  6. getRandomPwd()
  7. genRandomString(int pLength)
  8. generateRandom()
  9. randomAlphaNumeric(int length)