package octez-proto-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V8/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