poanetwork / vdf

An implementation of Verifiable Delay Functions in Rust
Apache License 2.0
169 stars 53 forks source link

proof_pietrzak Iterations #20

Closed HAOYUatHZ closed 3 years ago

HAOYUatHZ commented 3 years ago

May I ask why in https://github.com/poanetwork/vdf/blob/master/vdf/src/proof_pietrzak.rs#L45-L58

the iteration number has to be even and >=66? I couldn't find evidence for it in:

jio-gl commented 3 years ago

Good question.

HAOYUatHZ commented 3 years ago

We've figured it out.


the iteration number has to be even

https://eprint.iacr.org/2018/627.pdf 's idea is to keep halving, so the teration number has to be even


the iteration number has to be >=66


about delta

this is related to an optimization technique discussed in https://eprint.iacr.org/2018/627.pdf. See section 6.2 Efficiency of the VDF's A minor efficiency improvement