io.vertx.ext.auth

## Class PRNG

- java.lang.Object
- - io.vertx.ext.auth.PRNG

-     public class PRNG
      extends Object

  Wrapper around secure random that periodically seeds the PRNG with new entropy. To avoid entropy exhaustion the entropy is only refreshed if the PRNG is used. This introduces a new variable which reduces the probability of cracking the random number generator.
  Author:
    Paulo Lopes

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PRNG(Vertx vertx)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `nextBytes(byte[] bytes)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PRNG

          public PRNG(Vertx vertx)

  - ### Method Detail

    - #### close

          public void close()

    - #### nextBytes

          public void nextBytes(byte[] bytes)

Copyright © 2017. All rights reserved.