package octez-proto-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V9/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