Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::PedersenHash Struct Reference

Compute Pedersen hash of field elements. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (inputs, hash_index)
 
bool operator== (const PedersenHash &) const =default
 

Public Attributes

std::vector< grumpkin::fqinputs
 
uint32_t hash_index
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "PedersenHash"
 

Detailed Description

Compute Pedersen hash of field elements.

Definition at line 105 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

PedersenHash::Response bb::bbapi::PedersenHash::execute ( BBApiRequest request) &&

Definition at line 50 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::PedersenHash::MSGPACK_FIELDS ( inputs  ,
hash_index   
)

◆ operator==()

bool bb::bbapi::PedersenHash::operator== ( const PedersenHash ) const
default

Member Data Documentation

◆ hash_index

uint32_t bb::bbapi::PedersenHash::hash_index

Definition at line 116 of file bbapi_crypto.hpp.

◆ inputs

std::vector<grumpkin::fq> bb::bbapi::PedersenHash::inputs

Definition at line 115 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::bbapi::PedersenHash::MSGPACK_SCHEMA_NAME[] = "PedersenHash"
staticconstexpr

Definition at line 106 of file bbapi_crypto.hpp.


The documentation for this struct was generated from the following files: