|
TARAXA
|
#include "common/vrf_wrapper.hpp"Namespaces | |
| namespace | taraxa |
| namespace | taraxa::vrf_wrapper |
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) |