Interface CryptoRandom

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void nextBytes​(byte[] bytes)
      Generates random bytes and places them into a user-supplied byte array.
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • nextBytes

        void nextBytes​(byte[] bytes)
        Generates random bytes and places them into a user-supplied byte array. The number of random bytes produced is equal to the length of the byte array.
        Parameters:
        bytes - the byte array to fill with random bytes