Skip to main content
Play Fund Win - Home
← Back to Fundraising Technology

RNG API

Cryptographically secure random number generation with a full audit trail. Powers our draws and winner selection.

What It Does

Cryptographically secure random selection with a full audit trail on every draw.

Cryptographic Security

Uses Node.js’s cryptographically secure random number generator, which has no modulo bias.

Full Audit Trail

Every selection is logged with a timestamp, so each draw can be checked afterwards.

Verifiable Results

Each selection stores the random numbers used and a SHA-256 fingerprint of the entry list, so it can be re-run and checked.

Ticket-weighted

Every valid ticket is one equal chance, so more tickets means more chances.

One Number per Prize

Prizes are drawn one after another, with one random number per prize, from the tickets still in the draw.

How It Works

1

Entries Close

When the draw closes, the list of valid entries is fixed.

2

Fingerprint

A SHA-256 fingerprint of that entry list is recorded.

3

Pick

For each prize, one random number from the cryptographically secure generator picks the winning ticket.

4

Record

The random numbers, the winners and the fingerprint are saved in an append-only record.

Security & Reliability

Cryptographically Secure

Built on a cryptographically secure random number generator.

Recorded Selections

Every draw’s selection is recorded: the entries it drew from, the random numbers used and the winners.

Independently Checkable

A recorded selection can be re-run and checked independently.

Append-only Records

Selection records can be added to, never edited or deleted.

Transparency

Ask us and we will walk you through any draw’s selection record.

Frequently Asked Questions

What is the RNG API?+

The random number generator behind Play Fund Win's prize draws. It is a cryptographically secure random number generator, and every draw's selection is recorded and can be independently checked.

Is it truly random?+

Yes. Winners are picked with a cryptographically secure random number generator. Every draw's selection is recorded and can be independently checked.

Can results be disputed?+

Every draw's selection is recorded (the entries it drew from, the random numbers used and the winners), so it can be independently checked if anyone asks.

What parameters can I set?+

None. There is no public RNG endpoint to call: the generator runs inside Play Fund Win draws. When a draw closes, one random number per prize picks the winning ticket from the valid entries, and the selection is recorded so it can be independently checked.

How fast is it?+

We do not publish a speed figure. Winners are picked when the draw closes, as part of closing it.

Can I use it for other purposes?+

No. It is only used to pick winners in Play Fund Win draws.

What about algorithm transparency?+

We use a standard cryptographically secure random number generator, not a home-made one. Every draw's selection is recorded and can be independently checked. Ask us and we will walk you through a draw's record.

Is there a performance guarantee?+

No. We do not offer an uptime guarantee or SLA, and we do not publish an uptime figure. We monitor the platform and fix problems as quickly as we can.

How do I integrate with it?+

You don't need to. It runs inside every Play Fund Win draw, so there is nothing to install and there are no SDKs. If you need a draw's selection record, ask us and we will walk you through it.

Need fair, checkable randomness?

A cryptographically secure random number generator; every draw’s selection is recorded and can be independently checked.

Book a Demo