Artifact Content
Not logged in

Artifact 10e24ba9d64a9060c85bffdbed7f096713584157:

Wiki page [Experiment: mmmv_microbot_crypto_t1: Implementation Ideas] by martin_vahi on 2016-12-29 22:39:38.
D 2016-12-29T22:39:38.207
L Experiment:\smmmv_microbot_crypto_t1:\sImplementation\sIdeas
P 22d6fd1c9e32ed4bc0cbc09c3a93b9c7de86e0ea
U martin_vahi
W 1035
<h1>Random Number Generation&nbsp;</h1>

<p>Random numbers might be generated by combining some pseudo-random sequence
generation function with bitstream from hardware based random bitstream
generator. The role of the pseudo-random sequence generation function is to
compensate for the slowness of the hardware based bitstream generator. The
hardware based bitstream generator might use light, sound, electrical noise <i>(even
regular electrical noise, like the 50Hz or some engine noise)</i> for an input
to some fast cryptographically relatively strong hash function <i>(not
unrollable, has collisions)</i>. The hash function output would be the random
bitstream.&nbsp;</p>

<p><br>
</p>

<h1>Hash Function</h1>

<p>Probably one needs to write that from scratch, because 8bit MCUs are usually
not used for executing cryptographically strong hash functions. The
<a href="https://github.com/jenson-shi/murmur">MurMurHash</a> is not designed
to be cryptographically strong, but it might give some ideas.</p>

<p><br>
</p>

<p><br>
</p>

Z a5ca43811e5838e1dd87870a360b24cd