Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
modular_arithmetic.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <vector>
5#include <variant>
6
7namespace fc {
8 using bytes = std::vector<char>;
9
13
14 std::variant<modular_arithmetic_error, bytes> modexp(const bytes& _base, const bytes& _exponent, const bytes& _modulus);
15}
namespace sysio::chain
Definition authority.cpp:3
std::variant< modular_arithmetic_error, bytes > modexp(const bytes &_base, const bytes &_exponent, const bytes &_modulus)
std::vector< char > bytes
Definition alt_bn128.hpp:10
signed int int32_t
Definition stdint.h:123