Skip to content

About

A system to extract high-entropy randomness from video frames for cryptographic applications.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Video-Based Hardware Random Number Generator (HRNG)

Overview

This project implements a Video-Based Hardware Random Number Generator (HRNG) leveraging video frames as a source of entropy. The randomness is extracted through a series of processing steps, validated using statistical methods and utilized for cryptographic key generation. The project demonstrates how natural entropy sources can be integrated into cryptographic systems for enhanced security.


Features

  • Randomness Extraction:
    • Processes video frames to extract raw bitstreams.
    • Applies debiasing techniques like Von Neumann correction, XOR folding, and SHA-256 hashing.
  • Randomness Validation:
    • Conducts statistical randomness tests (Frequency Test, Runs Test, Shannon Entropy).
  • Cryptographic Key Generation:
    • Generates 256-bit cryptographic keys.
    • Demonstrates encryption and decryption using AES-256 in CBC mode.

Requirements

  • Libraries:
    • opencv-python
    • numpy
    • matplotlib
    • scipy
    • pycryptodome

About

A system to extract high-entropy randomness from video frames for cryptographic applications.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages