Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Namespaces | Functions
field_element_utils.hpp File Reference
#include "include_libff.hpp"
#include "libzeth/core/field_element_utils.tcc"
Include dependency graph for field_element_utils.hpp:

Go to the source code of this file.

Namespaces

 libzeth
 

Functions

template<typename FieldT >
std::string libzeth::base_field_element_to_hex (const FieldT &field_el)
 
template<typename FieldT >
FieldT libzeth::base_field_element_from_hex (const std::string &field_str)
 
template<typename FieldT >
void libzeth::field_element_write_json (const FieldT &el, std::ostream &out_s)
 
template<typename FieldT >
void libzeth::field_element_read_json (FieldT &el, std::istream &in_s)
 
template<typename FieldT >
std::string libzeth::field_element_to_json (const FieldT &el)
 
template<typename FieldT >
FieldT libzeth::field_element_from_json (const std::string &json)
 
template<typename FieldT >
void libzeth::field_element_write_bytes (const FieldT &el, std::ostream &out_s)
 
template<typename FieldT >
void libzeth::field_element_read_bytes (FieldT &el, std::istream &in_s)