Get some random bytes from Fortuna.
FortunaCore!(AES, SHA256) fortuna; ubyte[61] buf1; ubyte[buf1.length] buf2; fortuna.addSeed([0,1,2,3]); foreach(i;0..10) { buf2 = buf1; fortuna.nextBytes(buf1); if(i > 0) { assert(buf2 != buf1, "data is not random"); } }
See Implementation