Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include "libzeth/core/bits.hpp"
#include <cstdint>
#include <gmp.h>
#include <string>
#include <vector>
#include "libzeth/core/utils.tcc"
Go to the source code of this file.
Classes | |
class | libzeth::bit_utils< X > |
Compile-time computations related to bit representations of size_t values. More... | |
Namespaces | |
libzeth | |
Functions | |
template<typename T > | |
T | libzeth::swap_byte_endianness (T v) |
uint8_t | libzeth::char_to_nibble (const char c) |
void | libzeth::hex_to_bytes (const std::string &hex, void *dest, size_t bytes) |
Convert hex to bytes (first chars at lowest address) More... | |
void | libzeth::hex_to_bytes_reversed (const std::string &hex, void *dest, size_t bytes) |
std::string | libzeth::hex_to_bytes (const std::string &s) |
Decode hexadecimal string to an std::string of bytes. More... | |
std::string | libzeth::bytes_to_hex (const void *bytes, size_t num_bytes, bool prefix) |
std::string | libzeth::bytes_to_hex_reversed (const void *bytes, size_t num_bytes, bool prefix) |
template<typename StructuredT > | |
void | libzeth::check_well_formed (const StructuredT &v, const char *name) |
template<typename StructuredTs > | |
bool | libzeth::container_is_well_formed (const StructuredTs &values) |