Unit

ScRNG

 

Description

The TScRandom class implements functionality of a pseudo-random number generator. It produces a sequence of numbers that meet certain statistical requirements for randomness.

 

The random number generation starts from a seed value. To set the start value, use the Randomize method. If the same seed is used repeatedly, the same series of numbers is generated. Seed can be generated by using processor step counter, system timer information, information of random mouse movements or pressure of keyboard keys.

 

Note: Generation of a reliable starting sequence for the random-number generator is required to ensure high security level.

 

To improve performance, create only one TScRandom object to generate many random numbers, instead of creating a new TScRandom object to generate one random number.

 

See also

TScRandom_LFSR

Possible attack types and countermeasures

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support