public static byte[] generateRandom(int seedParam) {

        if(AES256Local.secureRandom == null)
        {
            AES256Local.secureRandom = new SecureRandom();
        }

        return new IvParameterSpec(AES256Local.secureRandom.generateSeed(seedParam)).getIV();
    }
public static byte[] generateRandom(int seedParam) {

        if(AES256Local.secureRandom == null)
        {
            AES256Local.secureRandom = new SecureRandom();
        }

        return new IvParameterSpec(AES256Local.secureRandom.generateSeed(seedParam)).getIV();
    }
public static byte [ ] generateRandom ( int seedParam ) { if ( AES256Local . secureRandom == null ) { AES256Local . secureRandom = new SecureRandom ( ) ; } return new IvParameterSpec ( AES256Local . secureRandom . generateSeed ( seedParam ) ) . getIV ( ) ; }
Generate a new initialization vector with a {@code seedParam} byte
count.

@param seedParam Size of the random bytes.
@return The software randomly generated bytes.
Generate a new initialization vector with a { @code seedParam } byte count .