|
TARAXA
|

Go to the source code of this file.
Classes | |
| class | taraxa::vrf_wrapper::VrfSortitionBase |
Namespaces | |
| namespace | taraxa |
| namespace | taraxa::vrf_wrapper |
Typedefs | |
| using | taraxa::vrf_wrapper::vrf_pk_t = dev::FixedHash< crypto_vrf_PUBLICKEYBYTES > |
| using | taraxa::vrf_wrapper::vrf_sk_t = dev::FixedHash< crypto_vrf_SECRETKEYBYTES > |
| using | taraxa::vrf_wrapper::vrf_proof_t = dev::FixedHash< crypto_vrf_PROOFBYTES > |
| using | taraxa::vrf_wrapper::vrf_output_t = dev::FixedHash< crypto_vrf_OUTPUTBYTES > |
Functions | |
| std::pair< vrf_pk_t, vrf_sk_t > | taraxa::vrf_wrapper::getVrfKeyPair () |
| vrf_pk_t | taraxa::vrf_wrapper::getVrfPublicKey (vrf_sk_t const &sk) |
| bool | taraxa::vrf_wrapper::isValidVrfPublicKey (vrf_pk_t const &pk) |
| std::optional< vrf_proof_t > | taraxa::vrf_wrapper::getVrfProof (vrf_sk_t const &pk, bytes const &msg) |
| std::optional< vrf_output_t > | taraxa::vrf_wrapper::getVrfOutput (vrf_pk_t const &pk, vrf_proof_t const &proof, bytes const &msg, bool strict=true) |