Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
k1_recover.hpp
Go to the documentation of this file.
1// Snark - Wrapper for alt_bn128 add mul pair and modexp
2
3#pragma once
4
5#include <cstdint>
6#include <variant>
7#include <vector>
8
9namespace fc {
10 using bytes = std::vector<char>;
11
18
19 std::variant<k1_recover_error, bytes> k1_recover(const bytes& signature, const bytes& digest);
20} // fc
namespace sysio::chain
Definition authority.cpp:3
fc::sha256 digest(const T &value)
Definition digest.hpp:9
std::vector< char > bytes
Definition alt_bn128.hpp:10
bytes signature
Definition pke.hpp:17
k1_recover_error
std::variant< k1_recover_error, bytes > k1_recover(const bytes &signature, const bytes &digest)
signed int int32_t
Definition stdint.h:123