https://github.com/dimchansky/nist-lottery
The NIST Lottery is a tool that allows you to conduct fair and transparent lotteries using cryptographically secure random values provided by the NIST Randomness Beacon. This tool ensures that lottery results are unbiased and verifiable by leveraging publicly available random numbers generated by NIST.
https://github.com/dimchansky/nist-lottery
Last synced: 23 days ago
JSON representation
The NIST Lottery is a tool that allows you to conduct fair and transparent lotteries using cryptographically secure random values provided by the NIST Randomness Beacon. This tool ensures that lottery results are unbiased and verifiable by leveraging publicly available random numbers generated by NIST.
- Host: GitHub
- URL: https://github.com/dimchansky/nist-lottery
- Owner: dimchansky
- License: mit
- Created: 2024-10-28T16:40:56.000Z (6 months ago)
- Default Branch: gh-pages
- Last Pushed: 2024-10-29T12:46:45.000Z (6 months ago)
- Last Synced: 2025-02-09T12:31:02.723Z (3 months ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NIST Lottery
Conduct fair and transparent lotteries using cryptographically secure random values from the NIST Randomness Beacon.
## About
The **NIST Lottery** is a web-based tool that allows you to calculate lottery winners in a secure and verifiable manner. By utilizing random values provided by the [NIST Randomness Beacon](https://beacon.nist.gov/home), this tool ensures that lottery results are unbiased and cannot be manipulated.
## Features
- **Fair and Transparent:** Leverages publicly available random numbers generated by NIST.
- **Secure:** Uses cryptographically secure random values.
- **Easy to Use:** Simple interface for selecting draw date, time, and number of participants.
- **Verifiable:** Provides calculation details and code examples for independent verification.## How It Works
1. **Select a Future Date and Time (UTC):** Choose a date and time in the future for the lottery draw.
2. **Record Participants:** Assign each participant a unique number prior to the draw.
3. **Announce the Draw Details:** Share the draw date, time, and participant list with all participants.
4. **Determine the Winner:**
- After the draw time has passed, visit the [NIST Lottery tool](https://dimchansky.github.io/nist-lottery/).
- Enter the draw date, time, and total number of participants.
- The tool fetches the random value from the NIST Randomness Beacon and calculates the winning number.## Usage
### Access the Tool
Visit the NIST Lottery tool at: [https://dimchansky.github.io/nist-lottery/](https://dimchansky.github.io/nist-lottery/)
### Steps
1. **Enter Draw Details:**
- **Date:** Enter the date of the draw in `YYYY-MM-DD` format.
- **Time (UTC):** Enter the time of the draw in `HH:MM` format (24-hour clock).
- **Number of Participants:** Enter the total number of participants in the lottery.2. **Calculate Winner:**
- Click on the **Calculate Winner** button.
- The tool will fetch the random value from NIST and display the winning number.
- Calculation details and code examples are provided for verification.## Verification
Participants can independently verify the lottery results using the provided calculation formula and code example. The random value is fetched directly from the NIST Randomness Beacon, and the calculation is transparent.