package octez-proto-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V11/Make/Vdf/index.html
Module Make.Vdf
Source
Size of a group element, also called form, in bytes
Size of the class group discriminant in bytes
Class group discriminant, prime number uniquely defining a class group
VDF challenge
VDF result
VDF proof
VDF difficulty, that is log of the number of group element compositions done in the prover
generate_discriminant ?seed size
, function generating a discriminant/group
generate_challenge discriminant seed
, function generating a class group element used as a VDF challenge
prove_vdf discriminant challenge difficulty
, function taking a class group/discriminant, a vdf challenge and a difficulty and returning a vdf result and proof
verify_vdf discriminant challenge difficulty result proof
function taking a class group/discriminant, a vdf challenge, difficulty, result and proof and returning true if the proof verifies else false