Topic: iphone RNG
#
Hi guys, I'm working on my project for the graduation and i've got interested on doing some weird stuff for my iPhone. Since the graduation is in Information Security and I've already worked with wolfSSL embedded SSL in the past, i'm trying to write a new RNG using the accelerometer of the gadget to be one of the sources of entropy. Does anyone there have any idea how to improve the hole thing? In the end, I'll send all the code to you guys... tks []'s
#
touskaProject Admin
[Avatar]
2010-08-26 16:40:56 UTC
Hi, Good idea. I guess my first suggestion is to use an existing RNG and only use your new entropy source as the seed and only in the case where you have enough entropy waiting, otherwise use the devices default entropy source. In terms of determining whether you're actually getting "random data" I'd start with Knuth's TAOCP Volume 2 Chapter 3. -Todd