[Gambas-user] Randomize

Benoit Minisini gambas at ...1...
Tue Jul 11 22:27:07 CEST 2006


On Tuesday 11 July 2006 22:16, Leonardo Miliani wrote:
> 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.

If it is useful, I will add it.

Regards,

-- 
Benoit Minisini




More information about the User mailing list