Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptographically random tests #1

Open
stifskere opened this issue Nov 12, 2024 · 0 comments
Open

Cryptographically random tests #1

stifskere opened this issue Nov 12, 2024 · 0 comments

Comments

@stifskere
Copy link
Member

stifskere commented Nov 12, 2024

The project is pending to test the crypto-graphically randomness trough series of algorithms that need to be implemented in form of tests.

as per: https://csrc.nist.gov/projects/random-bit-generation/

  • In src/helpers/frame is the noise source itself, it grabs the bytes or a "frame" in the camera and "digitalizes it" by converting it to bytes.
  • In src/helpers/random there are two functions which directly process the noise source.
  • and in src/routes/random there are the direct HTTP routes that lead to the result.

The tests should also be implemented in form of git hub action preceding the deployment. Probably using cargo test or similar.

If you are going to contribute to this, when you make the pull request merge it to dev, in there the changes do not deploy, main is being configured as a deployment branch, and every pull request in there will be deployed.

Before making the tests you need a source, the tests should be also ran with that source, it should be an m3u8 stream source, if you don't have one ping @memw1 on the server and I'l provide you with one.

@stifskere stifskere added this to the Project wrap up milestone Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant