3 ms·
Nice article, I can certainly vouch for creating a visualization to clue you in that there may be a problem. One of the things I built out of Java when I was h
by ChuckMcM 13y ago
Nice article, I can certainly vouch for creating a visualization to clue you in that there may be a problem.
One of the things I built out of Java when I was hanging out on the cypherpunks list was a 'Noise Sphere' applet. Basically this is a way of testing a PRNG visually. It was fun to put various ideas through it to see how they panned out (most really sucked) One of the cool things was using the alpha emitter RNG from a smart card and finding out that it too was slightly biased in the presence of foil on one side (never did find out why that was, but it did stick out)
- baq 13y agoturns out that hardware RNGs are very easily biased and usually need some transformation to be useful. see http://en.wikipedia.org/wiki/Hardware_random_number_generator#Dealing_with_bias http://en.wikipedia.org/wiki/Hardware_random_number_generato....
- DanBC 13y agoH-Online have a nice article about an external enclosure that offered "hardware data encryption with 128-bit AES, access control via an RFID chip". The visualization (of the encrypted data, not of any PRNG used) showed that the encrypted data had strong patterns. The data wasn't encrypted using RSA, it used XOR with a non-changing cipher block. (This is trivially easy to crack. Even I could do it.) The error arose because the manufacturer of the controller chip was using confusing terminology. > The IM7206 merely uses AES encryption when saving the RFID chip's ID in the controller's flash memory. The company explained that actual data encryption is based on a proprietary algorithm. (http://www.h-online.com/security/features/Enclosed-but-not-encrypted-746199.html http://www.h-online.com/security/features/Enclosed-but-not-e...) Other people interested in testing PRNGs might be interested in the DIEHARD tests (http://en.wikipedia.org/wiki/Diehard_tests http://en.wikipedia.org/wiki/Diehard_tests), but read all the cautions too.