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

Go to the source code of this file.

Namespaces

 libzeth
 

Functions

std::vector< bool > libzeth::bit_vector_from_hex (const std::string &hex_str)
 
std::vector< bool > libzeth::bit_vector_from_size_t_le (size_t x)
 Returns the little endian binary encoding of the integer x. More...
 
std::vector< bool > libzeth::bit_vector_from_size_t_be (size_t x)
 Returns the big endian binary encoding of the integer x. More...
 
void libzeth::bit_vector_write_string (const std::vector< bool > &bits, std::ostream &out_s)