Verifying the Elliptic Curve Verifiable Random Function Secp256r1 on Blockchain

Authors

  • Nomana Ayesha Majeed University of Applied Sciences Mittweida image/svg+xml
  • Alex Kemloh Kouyem University of Applied Sciences Mittweida image/svg+xml

DOI:

https://doi.org/10.52825/ocp.v2i.133

Abstract

Randomness is a critical issue in peer-to-peer networks because random numbers allow us to fairly select the candidates, resolve the lotteries, select block producers, etc. The difficulty is that each participant wants to verify that the random number was randomly generated, this led to the invention of verifiable random functions (VRF). The VRF is a pseudo-random function that provides a solution to blockchain-based random number generation.

This paper focuses on the implementation of an elliptic curve-based VRF introduced by NIST called ECVRF-secp256r1 in Solidity. The algorithm verifies the randomness on-chain, tests the gas consumption at each stage, and compares it to the ECVRF-secp256k1.

Downloads

Download data is not yet available.

References

Ethereum.org (2022), “ethereum.org,“. https://ethereum.org/en/what-is-ethereum/. [Accessed 14-03-2022].

Brown, D. R. (2010). Sec 2: Recommended elliptic curve domain parameters. Standars for Efficient Cryptography

Micali, S., Rabin, M., & Vadhan, S. (1999, October). Verifiable random functions. In 40th annual sym-posium on foundations of computer science (cat. No. 99CB37039) (pp. 120-130). IEEE.

S. G. L. R. J. V. Dimitrios Papadopoulos (2021): "Verifiable Random Funtions (VRFs),". https://datatracker.ietf.org/doc/pdf/draft-irtf-cfrg-vrf-06. [Accessed 05-01-2022]

Cao, M. (2021): “Announcing our Verifiable Random Function (VRF) library in Solidi-ty”. https://medium.com/witnet/announcing-our-verifiable-random-function-vrf-library-in-solidity-c847edf123f7. [Accessed 12-02-2022]

Chainlink Developers: “Introduction to chainlink VRF”. https://docs.chain.link/docs/chainlink-vrf/ [Accessed 19-04-2022]

Downloads

Published

2022-12-15

How to Cite

Majeed, N. A., & Kouyem, A. K. (2022). Verifying the Elliptic Curve Verifiable Random Function Secp256r1 on Blockchain. Open Conference Proceedings, 2, 213–216. https://doi.org/10.52825/ocp.v2i.133

Conference Proceedings Volume

Section

Beiträge zur / Contributions to the 22. Nachwuchswissenschaftler*innenkonferenz (NWK)