class RandomUtils {

    public static String getRandomHex(int len) {
        StringBuilder builder = new StringBuilder();

        byte[] bytes = getRandomBytes(len);
        for (byte b : bytes) {
            builder.append((char) charset[b & 0x0F]);
        }
        return builder.toString();
    }

    private  RandomUtils();

}