maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   Use CCD noise to make the random number generator uncrackable (https://talk.maemo.org/showthread.php?t=58119)

lma 2010-07-10 09:21

Re: Use CCD noise to make the random number generator uncrackable
 
Quote:

Originally Posted by samualwalters (Post 746932)
I take that to indicate the compression algorithm in ent is not taking advantage of all forms of repetition.

The link explains the tests ent does for better than I could.

Quote:

Good point! But what about the disproportionate number of 0's and 1's, while 2-7 was evenly distributed?
a) od outputs 16-bit octal values (each byte is a 3-digit string in the range 000..377) while the test matches 2-digit strings so digits 0-3 are naturally overrepresented
b) the test is also counting occurences in the offset column, so some low digits (which ones depend on the sample size) are also overrepresented.

Try something like this instead:

Code:

for x in {0..7}; do od -b dump | grep -c " [0-7]${x}6"; done

TiagoTiago 2010-08-31 18:05

Re: Use CCD noise to make the random number generator uncrackable
 
How about the imprecisions in the raw values of the accelerometers? Is't the noise there also from quantum origin and therefore trully random?

Would it use less or more battery for the same amount of random bytes you can get from the camera?


All times are GMT. The time now is 23:54.

vBulletin® Version 3.8.8