OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
parsec/agent/runners/evm/hash.hpp
Go to the documentation of this file.
1
// Copyright (c) 2022 MIT Digital Currency Initiative,
2
// Federal Reserve Bank of Boston
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef OPENCBDC_TX_SRC_PARSEC_AGENT_RUNNERS_EVM_HASH_H_
7
#define OPENCBDC_TX_SRC_PARSEC_AGENT_RUNNERS_EVM_HASH_H_
8
9
#include <array>
10
#include <sstream>
11
#include <
util/common/hash.hpp
>
12
13
namespace
cbdc
{
18
auto
keccak_data
(
const
void
* data,
size_t
len) ->
hash_t
;
19
}
20
21
#endif
// OPENCBDC_TX_SRC_PARSEC_AGENT_RUNNERS_EVM_HASH_H_
cbdc
Definition
parsec/agent/client.cpp:11
cbdc::hash_t
std::array< unsigned char, cbdc::hash_size > hash_t
SHA256 hash container.
Definition
util/common/hash.hpp:19
cbdc::keccak_data
auto keccak_data(const void *data, size_t len) -> hash_t
Calculates the Keccak256 hash of the specified data.
Definition
parsec/agent/runners/evm/hash.cpp:14
hash.hpp
src
parsec
agent
runners
evm
hash.hpp
Generated by
1.12.0