arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1212.3777cs.CRcs.ITmath.IT
收藏

Arduino作为硬件随机数发生器

The Arduino as a Hardware Random-Number Generator

Benedikt Kristinsson

摘要:

廉价的微控制器,如Arduino或其他基于Atmel AVR CPU的控制器,正被部署在从传感器网络到机器人潜艇的各种项目中。在本文中,我们研究了使用Arduino作为一个真正的随机数发生器(TRNG)的可行性。Arduino参考手册建议使用它来播种伪随机数发生器(PRNG),因为它能够从其模拟引脚读取随机大气噪声。这是一个很有吸引力的应用,因为很难得到真正的熵。不幸的是,我们通过统计方法表明,Arduino的大气噪声在各种设置中基本上是可预测的,因此是一个弱熵源。我们探讨了各种方法来提取真正的随机性从微控制器,并得出结论,它不应该被用来产生随机性从其模拟引脚。

英文摘要:

Cheap micro-controllers, such as the Arduino or other controllers based on the Atmel AVR CPUs are being deployed in a wide variety of projects, ranging from sensors networks to robotic submarines. In this paper, we investigate the feasibility of using the Arduino as a true random number generator (TRNG). The Arduino Reference Manual recommends using it to seed a pseudo random number generator (PRNG) due to its ability to read random atmospheric noise from its analog pins. This is an enticing application since true bits of entropy are hard to come by. Unfortunately, we show by statistical methods that the atmospheric noise of an Arduino is largely predictable in a variety of settings, and is thus a weak source of entropy. We explore various methods to extract true randomness from the micro-controller and conclude that it should not be used to produce randomness from its analog pins.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑