Android Random String Create randomIVString()

Here you can find the source of randomIVString()

Description

random IV String

Declaration

public static String randomIVString() 

Method Source Code

//package com.java2s;

import java.security.SecureRandom;
import java.math.BigInteger;

public class Main {
    private static final SecureRandom random = new SecureRandom();

    public static String randomIVString() {
        return new BigInteger(130, random).toString(16);
    }//www  .  j a v  a  2  s.co m
}

Related

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