User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Raspberry Pi camera as RNG?

Fri Mar 07, 2014 12:23 am

I know that the Raspberry Pi has a built-in hardware RNG, but given that high-ISO sensor thermal noise is pretty much the definition of a hardware RNG, could the camera plus the GPU be used to pump out a fairly solid entropy stream? I know that the rest of the Raspberry Pi's hardware would be a bit of a bottleneck, and I'm not even sure I have an application for such a beast, so I'm just thinking out loud here.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

User avatar
jbeale
Posts: 3675
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Raspberry Pi camera as RNG?

Fri Mar 07, 2014 1:14 am

No fundamental reason why not, but maybe some practical issues. The existing image processor has a strong noise filter that works against you in this application, so you'd want to work with the raw, pre-filtered data. The recent opening of the GPU register descriptions did not apply to the camera interface subsystem, so that portion remains as closed as ever.

Raspistill has an option to export RAW + Jpeg so you could work with that, but obviously not as quickly as you could on the GPU.

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Raspberry Pi camera as RNG?

Sat Mar 08, 2014 6:13 pm

Ah well - it was but an idea. Thank you.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Camera board”