> For the complete documentation index, see [llms.txt](https://chain-dimension.gitbook.io/dimensionchain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chain-dimension.gitbook.io/dimensionchain/about-dimensionchain/core-technologies/verifiable-random-functions-vrf.md).

# Verifiable Random Functions (VRF)

Verifiable Random Function (VRF) is an encryption scheme that maps the input to a verifiable pseudo-random output with three main properties: verifiability, uniqueness and randomness.DimensionChain uses VRF technology to ensure the privacy and secure operation of the system.

&#x20;

For example, the DimensionChain Verifiable Random Function (VRF) verifies the result and info without presenting the key SECRET, as follows.

Attested by.

1\). The provers generate a pair of keys, PK (public key), SK (private key).

2\), provers compute result = Compute (SK, info).

3\), provers calculate proof = Prove (SK, info).

4\). The certifier submits the RESULT and PROOF to the verifier.

&#x20;

Validated by.

5\), the verifier calculates whether result == VRF\_P2H (proof) holds, if it does, continue with the following steps, otherwise abort.

6\). The certifier submits the PK, info to the verifier.

7\), verifier calculates True/False = VRF\_Verify(PK, info, proof), True means verification passed, False means verification failed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chain-dimension.gitbook.io/dimensionchain/about-dimensionchain/core-technologies/verifiable-random-functions-vrf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
