3 ms·
If your second generator has an output that is a function of the first then it's not a cryptographic RNG in the first place and then Generator B is NOT fine. (
by ars 13y ago
If your second generator has an output that is a function of the first then it's not a cryptographic RNG in the first place and then Generator B is NOT fine.
(Alternatively it could mean that you can only generator a single cryptographic random number, since all the rest are just functions of the previous one, and then again you are not fine. Either way Generator B is not fine.)
And in any case neither A nor B is a generator - only x is. Neither A nor B are adding any entropy whatsoever.
- nitrogen 13y agoIf your second generator has an output that is a function of the first then it's not a cryptographic RNG in the first place and then Generator B is NOT fine. A CSPRNG is a function that takes as input a small set of random bits and generates as output a large set of unpredictable bits. So "Generator B" can be a "cryptographic RNG" and be a function of, or at least correlated with, "Generator A".