Exemplo n.º 1
0
        /*
         * Generates and stores random bytes in the given {@code byte[]} for each
         * array element.
         *
         * @param bytes
         *            the {@code byte[]} to be filled with random bytes.
         */

        public virtual void nextBytes(byte[] bytes)
        {
            lock (this){
                secureRandomSpi.engineNextBytes(bytes);
            }
        }