Idea for testing grade

I was playing around with my own coding design, and I wanted a way to test how good it was. I came up with the following idea: * generate a block of random data * make an identical copy of that block, but flip a single bit * encode both blocks separately * generate XOR between the two ciphertexts * enter the result in any test suite such as DieHarder or TestU01. Repeat the procedure for each of the bit positions. If it fails one of the tests, the coding is bad. Obviously, passing the test is not a guarantee that the code is good. It can only show bad. The nice thing is that it can be done by amateurs like myself.

About Cryptoplatforming.com

Cryptoplatforming.com is a news websites which gets news around the globe on investing in Crypto. Our news has no backgroundcheck.

Leave a Comment