HashDRBGStream.read

Fills the buffer with random values using the Hash_DRBG algorithm.

overridePredictionResistance: Override this.predictionResistance setting for this call only.

overrideExtraInput: Override this.extraInput setting for this call only.

  1. void read(ubyte[] buf)
  2. void read(ubyte[] buf, ubyte[] overrideExtraInput)
  3. void read(ubyte[] buf, Flag!"PredictionResistance" overridePredictionResistance)
    struct HashDRBGStream(TSHA = SHA512, string custom = "D Crypto RNG", EntropyStream = SystemEntropyStream!())
    void
    read
    (
    ubyte[] buf
    ,
    Flag!"PredictionResistance" overridePredictionResistance
    )
    if (
    isInstanceOf!(SHA, TSHA)
    )
  4. void read(ubyte[] buf, Flag!"PredictionResistance" overridePredictionResistance, ubyte[] overrideExtraInput)

Meta