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)
  4. void read(ubyte[] buf, Flag!"PredictionResistance" overridePredictionResistance, ubyte[] overrideExtraInput)
    struct HashDRBGStream(TSHA = SHA512, string custom = "D Crypto RNG", EntropyStream = SystemEntropyStream!())
    void
    read
    (
    ubyte[] buf
    ,
    Flag!"PredictionResistance" overridePredictionResistance
    ,
    )
    if (
    isInstanceOf!(SHA, TSHA)
    )

Meta