Tag Info

New answers tagged


Have you actually tried coding this thing? It's not a PRNG, it's an oscillator. I tried running it with various seed values, and every time it ended up in a loop of about $1000$ iterations. If the initial seed is $(0, 1, 2, 3, 4)$, then the resulting loop has just $560$ iterations. A five-byte seed is also way too small. Even if you do get it running ...


Use RSA instead? eg: generate an RSA keypair, and discard the private key, then encrypt your starting state. If you want to make it faster, manually input the bigmath instructions needed for encryption, unroll them, then manually optimise: you get the added benefit that the result looks just like a "normal" IV, except if you've kept the secret key, you can ...

Top 50 recent answers are included