vendredi 16 janvier 2015

Is it possible to make a more secure random number generator algorithm by XORing two or more less secure random number algorithms?



Is it possible to make a more secure random number generator (e.g. for cryptologic purposes) by combining two or more less secure random number generator algorithms using XOR? Here is an example of what I am talking about:



// Create random numbers using weak algorithms
weak_random1 = WeakRandomAlgorithm1(seed1);
weak_random2 = WeakRandomAlgorithm2(seed2);
...

// Combine the random numbers into something stronger with XOR
stronger_random = weak_random1 XOR weak_random2 ...;




Aucun commentaire:

Enregistrer un commentaire