block/include/nil/crypto3/detail/static_digest.hpp File Reference
#include <boost/static_assert.hpp>
#include <boost/assert.hpp>
#include <array>
#include <string>
#include <cstring>
#include <iostream>
#include <nil/crypto3/detail/octet.hpp>
#include <nil/crypto3/detail/pack.hpp>
+ Include dependency graph for block/include/nil/crypto3/detail/static_digest.hpp:

Go to the source code of this file.

Classes

class  nil::crypto3::static_digest< DigestBits >
 

Namespaces

 nil
 
 nil::crypto3
 
 nil::crypto3::detail
 

Functions

template<std::size_t DigestBits>
std::array< char, DigestBits/4+1 > nil::crypto3::detail::c_str (const static_digest< DigestBits > &d)
 
template<std::size_t DB>
bool nil::crypto3::operator!= (char const *b, const static_digest< DB > &a)
 
template<std::size_t DB>
bool nil::crypto3::operator!= (const static_digest< DB > &a, char const *b)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator!= (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator< (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DigestBits>
std::ostream & nil::crypto3::operator<< (std::ostream &sink, const static_digest< DigestBits > &d)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator<= (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DB>
bool nil::crypto3::operator== (char const *b, const static_digest< DB > &a)
 
template<std::size_t DB>
bool nil::crypto3::operator== (const static_digest< DB > &a, char const *b)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator== (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator> (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DB1, std::size_t DB2>
bool nil::crypto3::operator>= (const static_digest< DB1 > &a, const static_digest< DB2 > &b)
 
template<std::size_t DigestBits>
std::istream & nil::crypto3::operator>> (std::istream &source, static_digest< DigestBits > &d)
 
template<std::size_t NewBits, std::size_t OldBits>
static_digest< NewBits > nil::crypto3::resize (const static_digest< OldBits > &od)
 
template<std::size_t DigestBits, typename OutputIterator >
OutputIterator nil::crypto3::detail::to_ascii (const static_digest< DigestBits > &d, OutputIterator it)
 
template<std::size_t DigestBits>
std::string std::to_string (const nil::crypto3::static_digest< DigestBits > &d)
 
template<std::size_t NewBits, std::size_t OldBits>
static_digest< NewBits > nil::crypto3::truncate (const static_digest< OldBits > &od)
 

Function Documentation

◆ to_string()

template<std::size_t DigestBits>
std::string std::to_string ( const nil::crypto3::static_digest< DigestBits > &  d)