[Gambas-user] Randomize

Leonardo Miliani leonardo at ...1237...
Tue Jul 11 22:16:36 CEST 2006


Is it possible to setup the random numbers generator with a seed?
In other languages this is done by randomize (x) where x is the seed.
Using this command, you are sure that the generator provides the same
numbers every time it is set up with the same seed.
This is useful for example in cryptography, where you can add more
security to a public key using a seed to interpolate the public key bits
with random numbers to obtain any time differents encryptions of same
datas and same keys.

-- 
Ciao.
Leo

Visita il mio sito personale: www.leonardomiliani.com
e-mail: leonardo at ...1237...
z




More information about the User mailing list