Functions | |
GShandle | StartNumberGenerator (GSCRYPTO_PRNG_ALGO eAlgo, GSCRYPTO_HASH_ALGO eHash, const GSubyte *pucSeed, GSuint uiSeedSize) |
Initialize the pseudo-random number generator. | |
GSvoid | StopNumberGenerator (GShandle hPRNG) |
Uninitiaze the pseudo-random number generator. | |
GSubyte | GenerateBit (GShandle hPRNG) |
Generate random bit. | |
GSubyte | GenerateByte (GShandle hPRNG) |
Generate random byte. | |
GSulong | GenerateNumber (GShandle hPRNG, GSulong ulMax=(GSulong)-1, GSulong ulMin=0) |
Generate random number. | |
GSvoid | GenerateBlock (GShandle hPRNG, GSubyte *pucBlock, GSuint uiBlockSize) |
Generate random array of bytes. |
|
|
|
|
|
|
|
|
|
|
|
|
Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team