165 {
166
167
169 25, 69, 116, 104, 101, 114, 101,
170 117, 109, 32, 83, 105, 103, 110,
171 101, 100, 32, 77, 101, 115, 115,
172 97, 103, 101, 58, 10, 51, 50
173 };
174
175
176
177 unsigned char eth_prefixed_msg_raw[28 + 32];
178 std::copy(std::begin(eth_prefix), std::end(eth_prefix), std::begin(eth_prefixed_msg_raw));
179 std::copy((
unsigned char*)
digest.
data(), (
unsigned char*)
digest.
data() + 32, std::begin(eth_prefixed_msg_raw) + 28);
180
184
185
186 unsigned char msg_digest_result[32];
188
189
191 }
const char * data() const
void keccak_init(SHA3_CTX *ctx)
void keccak_update(SHA3_CTX *ctx, const unsigned char *msg, uint16_t size)
void keccak_final(SHA3_CTX *ctx, unsigned char *result)
fc::sha256 digest(const T &value)
const data_type & serialize() const
public_key_shim public_key_type