Class RandomUtils

java.lang.Object
com.yubico.yubikit.core.util.RandomUtils

public class RandomUtils
extends java.lang.Object
Utility class to generate random data.
  • Method Summary

    Modifier and Type Method Description
    static byte[] getRandomBytes​(int length)
    Returns a byte array containing random values.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getRandomBytes

      public static byte[] getRandomBytes​(int length)
      Returns a byte array containing random values.