## Uses of Class
net.i2p.util.RandomSource

- Packages that use RandomSource
  Package | Description
  --- | ---
  net.i2p | Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services.
  net.i2p.util | Core utility classes and helper functions used throughout the I2P router and applications.
  org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent.

- - ### Uses of RandomSource in net.i2p

    Methods in net.i2p that return RandomSource
    Modifier and Type | Method and Description
    --- | ---
    `RandomSource` | I2PAppContext.`random()` [insert snarky comment here]

  - ### Uses of RandomSource in net.i2p.util

    Subclasses of RandomSource in net.i2p.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FortunaRandomSource` Wrapper around GNU-Crypto's Fortuna PRNG.

    Methods in net.i2p.util that return RandomSource
    Modifier and Type | Method and Description
    --- | ---
    `static RandomSource` | RandomSource.`getInstance()` Singleton for whatever PRNG i2p uses.

  - ### Uses of RandomSource in org.klomp.snark.dht

    Methods in org.klomp.snark.dht with parameters of type RandomSource
    Modifier and Type | Method and Description
    --- | ---
    `static NID` | NodeInfo.`generateNID(Hash h, int p, RandomSource random)` Generate a secure NID that matches the Hash and port.