Testing the Fortuna random number generator? I have implemented the Fortuna random number generator as described in chapter 10 of "Practical Cryptography" (Ferguson and Schneier, Wiley, 2003), the result can be found at http://www.seehuhn.de/pages/fortuna .

My question: How can I test my implementation?  Or more specifically:


Are there any known-correct test vectors for the Fortuna generator available?
Are there automated tests for the cryptographic properties of the output?
(I know how to test the statistical properties of the output, but I don't know how to test the cryptographic properties.)
Any other testing methodologies I should consider?
Perhaps obvious, but couldn't you download other implementations, design a test set of your own, and run it through multiple implementations to verify the same results?

There are these implementations:


http://sourceforge.net/projects/fortunaprng/
https://github.com/dlitz/pycrypto/tree/master/lib/Crypto/Random/Fortuna


If system entropy is an issue, you might be able to tweak all implementations to fudge the updates to be equal.