Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

Add Statistical Tests form random.hpp

Open
#123 1 comment 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest help wanted triage
Dominant language
C++
Stars
26
Forks
25
PR merge metrics
No merged PRs in 30d

Description

As a user I would like to validate the functionality of the random number generator using a statistical test method such as diehard so that I can be confident the library is adequately generating random input for secret values.

different platforms handle random number generation differently and as a safety feature we should add statistical tests that can verify the functionality of our internal random number process on a variety of hardware, operating systems, and compilers.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting random.hpp and the internal random-number generation path it exposes. Research the proposed statistical method, such as Diehard, and determine how tests could cover different platforms, operating systems, and compilers. Done means a defined, repeatable test scope exists and the random generation behavior is validated across the intended environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
security, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.