Giter Club home page Giter Club logo

truora's Issues

随机数k生成方式的疑问

在VRF的文档里边,2.3 VRF特性里边有一条为完全唯一性,我的理解是相同的私钥和alpha输入,得到的{beta,pi}是相同的。
企业微信截图_16414489496032

但是在3.4VRF证明生成这一章节,我直接对文档的理解k是随机生成的。

企业微信截图_16414489675943

问题在于:如果k是随机生成的,不同的会得到不同的pi,也就会得到不同的beta,这里k如果是随机生成的就与其特性矛盾。

随后我翻了一下VRF草案规范,VRF草案规范里的k是按RFC6979规范的方式生成的,也就是说,是确定性生成的方式。
企业微信截图_16414488732990
企业微信截图_16414488999890

VRF文档的链接:https://truora.readthedocs.io/zh_CN/latest/docs/Truora-Service/VRF.html

VRF草案链接:https://tools.ietf.org/pdf/draft-irtf-cfrg-vrf-06.pdf

预言机

是否允许我在不同机构各自独立部署预言机,前提是共识一致性结果必须一致?A机构是否可以调用B机构的预言机呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.