Android Password Create generatePassword()

Here you can find the source of generatePassword()

Description

generate Password

Declaration

private static String generatePassword() 

Method Source Code

//package com.java2s;

import java.util.Random;

public class Main {
    private static String generatePassword() {
        int randomInt = new Random().nextInt(1000000);

        return String.valueOf(randomInt);
    }/*from w w w.  j  a  va2s.co  m*/
}

Related

  1. generateRandomPassword(int length)
  2. generateUsername()