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

Compute Poseidon2 hash of input field elements. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (inputs)
 
bool operator== (const Poseidon2Hash &) const =default
 

Public Attributes

std::vector< frinputs
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "Poseidon2Hash"
 

Detailed Description

Compute Poseidon2 hash of input field elements.

Definition at line 24 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 16 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::Poseidon2Hash::MSGPACK_FIELDS ( inputs  )

◆ operator==()

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

Member Data Documentation

◆ inputs

std::vector<fr> bb::bbapi::Poseidon2Hash::inputs

Definition at line 34 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 25 of file bbapi_crypto.hpp.


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