Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
digest.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
fc/io/raw.hpp
>
3
#include <
fc/reflect/reflect.hpp
>
4
#include <
fc/crypto/sha256.hpp
>
5
6
namespace
fc
{
7
8
template
<
typename
T>
9
fc::sha256
digest
(
const
T
&
value
)
10
{
11
fc::sha256::encoder
enc;
12
fc::raw::pack
( enc,
value
);
13
return
enc.
result
();
14
}
15
}
fc::sha256::encoder
Definition
sha256.hpp:38
fc::sha256::encoder::result
sha256 result()
Definition
sha256.cpp:62
fc::sha256
Definition
sha256.hpp:12
fc::raw::pack
void pack(Stream &s, const std::deque< T > &value)
Definition
raw.hpp:531
fc
namespace sysio::chain
Definition
authority.cpp:3
fc::digest
fc::sha256 digest(const T &value)
Definition
digest.hpp:9
value
#define value
Definition
pkcs11.h:157
T
#define T(meth, val, expected)
raw.hpp
reflect.hpp
sha256.hpp
libraries
fc
include
fc
crypto
digest.hpp
Generated by
1.12.0