nil::crypto3::zk::snark::set_commitment_accumulator< Hash > Class Template Reference
#include <set_commitment.hpp>
Collaboration diagram for nil::crypto3::zk::snark::set_commitment_accumulator< Hash >:
Public Member Functions | |
void | add (const std::vector< bool > &value) |
void | add (const std::vector< bool > &value) |
set_commitment | get_commitment () const |
set_commitment | get_commitment () const |
set_membership_proof | get_membership_proof (const std::vector< bool > &value) const |
set_membership_proof | get_membership_proof (const std::vector< bool > &value) const |
bool | is_in_set (const std::vector< bool > &value) const |
bool | is_in_set (const std::vector< bool > &value) const |
set_commitment_accumulator (const std::size_t max_entries, const std::size_t value_size=0) | |
set_commitment_accumulator (const std::size_t max_entries, const std::size_t value_size=0) | |
Public Attributes | |
std::size_t | depth |
std::size_t | digest_size |
std::size_t | value_size |
Constructor & Destructor Documentation
◆ set_commitment_accumulator() [1/2]
template<typename Hash >
|
inline |
◆ set_commitment_accumulator() [2/2]
template<typename Hash >
|
inline |
Member Function Documentation
◆ add() [1/2]
template<typename Hash >
|
inline |
◆ add() [2/2]
template<typename Hash >
|
inline |
◆ get_commitment() [1/2]
template<typename Hash >
|
inline |
◆ get_commitment() [2/2]
template<typename Hash >
|
inline |
◆ get_membership_proof() [1/2]
template<typename Hash >
|
inline |
◆ get_membership_proof() [2/2]
template<typename Hash >
|
inline |
◆ is_in_set() [1/2]
template<typename Hash >
|
inline |
◆ is_in_set() [2/2]
template<typename Hash >
|
inline |
Member Data Documentation
◆ depth
template<typename Hash >
std::size_t nil::crypto3::zk::snark::set_commitment_accumulator< Hash >::depth |
◆ digest_size
template<typename Hash >
std::size_t nil::crypto3::zk::snark::set_commitment_accumulator< Hash >::digest_size |
◆ value_size
template<typename Hash >
std::size_t nil::crypto3::zk::snark::set_commitment_accumulator< Hash >::value_size |
The documentation for this class was generated from the following file: