Verifying the Elliptic Curve Verifiable Random Function Secp256r1 on Blockchain

Nomana Ayesha Majeed, Alex Kemloh Kouyem
{"title":"Verifying the Elliptic Curve Verifiable Random Function Secp256r1 on Blockchain","authors":"Nomana Ayesha Majeed, Alex Kemloh Kouyem","doi":"10.52825/ocp.v2i.133","DOIUrl":null,"url":null,"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.\nThis 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.","PeriodicalId":89291,"journal":{"name":"The open conference proceedings journal","volume":"28 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-12-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The open conference proceedings journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.52825/ocp.v2i.133","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
在区块链上验证椭圆曲线可验证随机函数Secp256r1
随机性是点对点网络中的一个关键问题,因为随机数允许我们公平地选择候选人,解决彩票,选择区块生产者等。困难在于每个参与者都想验证随机数是随机生成的,这导致了可验证随机函数(VRF)的发明。VRF是一个伪随机函数,为基于区块链的随机数生成提供了解决方案。本文重点研究了NIST在solididity中引入的基于椭圆曲线的VRF (ECVRF-secp256r1)的实现。该算法验证链上随机性,测试每个阶段的耗气量,并将其与ECVRF-secp256k1进行比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信