26 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
34 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
39 std::ios_base::fmtflags f(
os.flags());
41 for (
auto byte :
arr) {
Sha256Hash sha256(const ByteContainer &input)
SHA-256 hash function (FIPS 180-4)
std::array< uint8_t, 32 > Sha256Hash
bool operator==(ecdsa_signature const &lhs, ecdsa_signature const &rhs)
std::array< uint32_t, 8 > sha256_block(const std::array< uint32_t, 8 > &h_init, const std::array< uint32_t, 16 > &input)
SHA-256 compression function (FIPS 180-4 Section 6.2.2)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
bool operator==(std::vector< uint8_t > const &lhs, bb::crypto::Sha256Hash const &rhs)
std::ostream & operator<<(std::ostream &os, const T &obj)
Automatically derived stream operator for any object that defines .msgpack() (implicitly defined by M...