SHA256

struct SHA256

Public Types

using value_type = evp_md_ctx_st

Public Functions

SHA256()
SHA256(SHA256&&) = delete
SHA256(const SHA256&&) = delete
void clear()
void update(void const *data, size_t length)
template<typename C>
inline void update(C const &obj)
std::span<std::byte const> final(void *buffer, size_t length)
template<typename C>
inline std::span<std::byte const> final(C &obj)

Public Static Attributes

static constexpr size_t DIGEST_LENGTH = 32