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

Compute Blake2s hash and convert to field element. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (data)
 
bool operator== (const Blake2sToField &) const =default
 

Public Attributes

std::vector< uint8_t > data
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "Blake2sToField"
 

Detailed Description

Compute Blake2s hash and convert to field element.

Definition at line 167 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 69 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::Blake2sToField::MSGPACK_FIELDS ( data  )

◆ operator==()

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

Member Data Documentation

◆ data

std::vector<uint8_t> bb::bbapi::Blake2sToField::data

Definition at line 177 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 168 of file bbapi_crypto.hpp.


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