nil::crypto3::vdf Namespace Reference

Namespaces

 detail
 

Classes

struct  binary_quadratic_form
 Defines y = ax^2 + bxy + y^2. More...
 
class  chia
 
class  pietrzak
 
class  wesolowski
 

Functions

template<typename Vdf , typename NumberType , typename Integer >
void compute (const NumberType &challenge, Integer difficulty, typename Vdf::template state_type< NumberType > &out)
 
template<typename Vdf , typename SinglePassRange , typename Integer , typename OutputIterator >
OutputIterator compute (const SinglePassRange &r, Integer difficulty, OutputIterator out)
 
template<typename Vdf , typename InputIterator , typename Integer , typename OutputIterator >
OutputIterator compute (InputIterator first, InputIterator last, Integer difficulty, OutputIterator out)
 
template<typename Vdf , typename NumberType >
Vdf::template state_type< NumberType > discriminant_input (const NumberType &v)
 
template<typename Vdf , typename InputIterator , typename OutputIterator >
OutputIterator verify (InputIterator first, InputIterator last, OutputIterator out)
 

Function Documentation

◆ compute() [1/3]

template<typename Vdf , typename NumberType , typename Integer >
void nil::crypto3::vdf::compute ( const NumberType &  challenge,
Integer  difficulty,
typename Vdf::template state_type< NumberType > &  out 
)

◆ compute() [2/3]

template<typename Vdf , typename SinglePassRange , typename Integer , typename OutputIterator >
OutputIterator nil::crypto3::vdf::compute ( const SinglePassRange &  r,
Integer  difficulty,
OutputIterator  out 
)

◆ compute() [3/3]

template<typename Vdf , typename InputIterator , typename Integer , typename OutputIterator >
OutputIterator nil::crypto3::vdf::compute ( InputIterator  first,
InputIterator  last,
Integer  difficulty,
OutputIterator  out 
)

◆ discriminant_input()

template<typename Vdf , typename NumberType >
Vdf::template state_type<NumberType> nil::crypto3::vdf::discriminant_input ( const NumberType &  v)

◆ verify()

template<typename Vdf , typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::vdf::verify ( InputIterator  first,
InputIterator  last,
OutputIterator  out 
)