Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Functions
picosha2.h File Reference
#include <cstdint>
#include <iostream>
#include <vector>
#include <iterator>
#include <cassert>
#include <sstream>
#include <algorithm>
Include dependency graph for picosha2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  picosha2::hash256_one_by_one
 

Namespaces

 picosha2
 
 picosha2::detail
 

Functions

uint8_t picosha2::detail::mask_8bit (uint8_t x)
 
uint32_t picosha2::detail::mask_32bit (uint32_t x)
 
uint32_t picosha2::detail::ch (uint32_t x, uint32_t y, uint32_t z)
 
uint32_t picosha2::detail::maj (uint32_t x, uint32_t y, uint32_t z)
 
uint32_t picosha2::detail::rotr (uint32_t x, std::size_t n)
 
uint32_t picosha2::detail::bsig0 (uint32_t x)
 
uint32_t picosha2::detail::bsig1 (uint32_t x)
 
uint32_t picosha2::detail::shr (uint32_t x, std::size_t n)
 
uint32_t picosha2::detail::ssig0 (uint32_t x)
 
uint32_t picosha2::detail::ssig1 (uint32_t x)
 
template<typename RaIter1 , typename RaIter2 >
void picosha2::detail::hash256_block (RaIter1 message_digest, RaIter2 first, RaIter2 last)
 
template<typename InIter >
void picosha2::output_hex (InIter first, InIter last, std::ostream &os)
 
template<typename InIter >
void picosha2::bytes_to_hex_string (InIter first, InIter last, std::string &hex_str)
 
template<typename InContainer >
void picosha2::bytes_to_hex_string (const InContainer &bytes, std::string &hex_str)
 
template<typename InIter >
std::string picosha2::bytes_to_hex_string (InIter first, InIter last)
 
template<typename InContainer >
std::string picosha2::bytes_to_hex_string (const InContainer &bytes)
 
void picosha2::get_hash_hex_string (const hash256_one_by_one &hasher, std::string &hex_str)
 
std::string picosha2::get_hash_hex_string (const hash256_one_by_one &hasher)
 
template<typename RaIter , typename OutIter >
void picosha2::hash256 (RaIter first, RaIter last, OutIter first2, OutIter last2)
 
template<typename RaIter , typename OutContainer >
void picosha2::hash256 (RaIter first, RaIter last, OutContainer &dst)
 
template<typename RaContainer , typename OutIter >
void picosha2::hash256 (const RaContainer &src, OutIter first, OutIter last)
 
template<typename RaContainer , typename OutContainer >
void picosha2::hash256 (const RaContainer &src, OutContainer &dst)
 
template<typename RaIter >
void picosha2::hash256_hex_string (RaIter first, RaIter last, std::string &hex_str)
 
template<typename RaIter >
std::string picosha2::hash256_hex_string (RaIter first, RaIter last)
 
void picosha2::hash256_hex_string (const std::string &src, std::string &hex_str)
 
template<typename RaContainer >
void picosha2::hash256_hex_string (const RaContainer &src, std::string &hex_str)
 
template<typename RaContainer >
std::string picosha2::hash256_hex_string (const RaContainer &src)