Algorithm Property
The random number algorithm.
Syntax
__property TipcEzRandAlgorithms Algorithm = {read=FAlgorithm, write=FSetAlgorithm, default=0};
enum TipcEzRandAlgorithms { raISAAC=0, raMSCryptoAPI=1, raPlatform=2, raSecurePlatform=3, raRC4Random=4 };
Default Value
0
Remarks
This property specifies the algorithm used to generate the random number or bytes. Possible values are:
0 (raISAAC) | ISAAC (indirection, shift, accumulate, add, and count) |
1 (raMSCryptoAPI) | The Microsoft Crypto API. This is only available on Windows. |
2 (raPlatform) | The platform's random implementation. |
3 (raSecurePlatform) | The platform's secure random implementation. This is only applicable in .NET and Java. In .NET the component uses the "RNGCryptoServiceProvider" class. In Java the component uses the "SecureRandom" class. |
4 (raRC4Random) | RC4 based random implementation. |
Data Type
Integer