Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

TLS_NewRandom

procedure TLS_NewRandom(var Random: TRandom; const aPRNG: iRawRandom = nil);
Builds a TLS "Random" struct. aPRNG is the generator for the 28 random bytes: pass the connection's secondary generator (TCustomTLS_ContentLayer.ConnRandom), since a hello random is transmitted as-is; nil uses the global primary.