hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
sha3_512.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_SHARED_MODEL_SHA3_512_HPP
7
#define IROHA_SHARED_MODEL_SHA3_512_HPP
8
9
#include "common/types.hpp"
10
#include "
cryptography/ed25519_sha3_impl/internal/sha3_hash.hpp
"
11
12
namespace
shared_model
{
13
namespace
crypto {
14
class
Sha3_512
{
15
public
:
16
static
Hash
makeHash
(
const
Blob
&blob) {
17
return
Hash
(
iroha::sha3_512
(blob.
blob
()).to_string());
18
}
19
};
20
}
// namespace crypto
21
}
// namespace shared_model
22
#endif // IROHA_SHARED_MODEL_SHA3_512_HPP
shared_model::crypto::Hash
Definition:
hash.hpp:18
shared_model::crypto::Blob
Definition:
blob.hpp:27
sha3_hash.hpp
shared_model::crypto::Blob::blob
virtual const Bytes & blob() const
Definition:
blob.cpp:50
iroha::sha3_512
void sha3_512(uint8_t *output, const uint8_t *input, size_t in_size)
Definition:
sha3_hash.cpp:17
shared_model::crypto::Sha3_512
Definition:
sha3_512.hpp:14
shared_model::crypto::Sha3_512::makeHash
static Hash makeHash(const Blob &blob)
Definition:
sha3_512.hpp:16
shared_model
Definition:
command_executor.hpp:13
shared_model
cryptography
hash_providers
sha3_512.hpp
Generated by
1.8.13