secureRandom()
Calculates a sequence of secure integer pseudo random numbers.
Synopsis
int secureRandom();
Parameters
-
Return value
A sequence of integer pseudo random numbers.
Description
Via the function secureRandom, a sequence of secure integer pseudo random numbers in the range of 0 to 32767 can be calculated.
The function secureRandom works independent of the srand() and rand() functions and returns a secure random number of the operating system.
Example
main()
{
int i = secureRandom();
DebugN("secureRandom:", i);
}
Assignment
Miscellaneous functions
Availability
CTRL