All Downloads are FREE. Search and download functionalities are using the official Maven repository.

crypto.Util Maven / Gradle / Ivy

Go to download

A simple fast encryption library for the JVM uses standard best practices and standard JVM classes

There is a newer version: 1.1.0
Show newest version
package crypto;

import java.util.Random;

public class Util {

    public static final byte[] genData(int byteLen) {
        byte[] v = new byte[byteLen];

        Random r = new Random();

        for (int i = 0; i < (byteLen); i++) {
            v[i] = (byte) r.nextInt(127);
        }

        return v;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy