Corrade::Utility::Sha1 class


Base classes

template<std::size_t digestSize>
class AbstractHash
Base template for hashing classes.

Public static functions

static auto digest(const std::string& data) -> Digest
Digest of given data.

Public functions

auto operator<<(const std::string& data) -> Sha1&
Add data for digesting.
auto digest() -> Digest
Digest of all added data.

Function documentation

static Digest Corrade::Utility::Sha1::digest(const std::string& data)

Digest of given data.

Convenience function for (Utility::Sha1{} << data).digest().