“A True Random Number Generator Algorithm from Digital Camera Image Noise for Varying Lighting Conditions” by Rongzhong Li presents a novel approach to generating true random numbers (TRNG) using the noise present in images captured by digital cameras. Here is a summary of the key points:
- Introduction:
- The study emphasizes the importance of random number generation in various fields such as cryptography, simulations, and quantum mechanics.
- Traditional methods either use physical entropy sources or complex mathematical algorithms to generate random numbers.
- Noise Sources in Camera Sensors:
- Different types of noise in digital images, such as shot noise, dark noise, and read noise, are identified and analyzed.
- The study explores how these noises can be harnessed to produce random numbers.
- Algorithm Overview:
- The algorithm utilizes all three RGB channels of camera images to generate random numbers.
- By excluding saturated pixel values, the algorithm ensures unbiased random bit generation.
- A transposing operation is introduced to shuffle the raw sequence and improve randomness.
- Experimental Setup:
- The algorithm was tested using images from both a ThinkPad T410 integrated camera and an iPhone 5s back camera.
- The images were captured under varying lighting conditions to test the robustness of the algorithm.
- Results:
- The generated sequences passed the standard NIST randomness tests, confirming the effectiveness of the approach.
- The algorithm achieves a random number generation rate of 60 Mbps with modern mobile cameras and can potentially reach up to 1 Gbps with minor hardware optimizations.
- Conclusion:
- The study presents a practical, efficient, and hardware-independent method for generating true random numbers using the inherent noise in digital camera images.
- This approach is particularly suitable for mobile devices, enabling fast and reliable random number generation on-the-go.
The full document provides detailed explanations of the noise models, algorithm steps, and experimental validations, demonstrating the feasibility and advantages of this TRNG method.
Full document is here: https://borntoleave.github.io/resource/RzL_TRNG_final.pdf
Thanks to Si Cornwell for the tip.


Leave a comment