TARAXA
Loading...
Searching...
No Matches
vrf_wrapper.cpp File Reference

Namespaces

namespace  taraxa
 
namespace  taraxa::vrf_wrapper
 

Functions

std::pair< vrf_pk_t, vrf_sk_ttaraxa::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_ttaraxa::vrf_wrapper::getVrfProof (vrf_sk_t const &pk, bytes const &msg)
 
std::optional< vrf_output_ttaraxa::vrf_wrapper::getVrfOutput (vrf_pk_t const &pk, vrf_proof_t const &proof, bytes const &msg, bool strict=true)