15 #ifndef SERIALBOX_CORE_HASH_HASHFACTORY_H 16 #define SERIALBOX_CORE_HASH_HASHFACTORY_H 37 static std::unique_ptr<Hash>
create(
const std::string& name);
static std::string defaultHash()
Get the default hash algorithm (currently MD5 if avialable, SHA256 otherwise)
static std::unique_ptr< Hash > create(const std::string &name)
Construct an instance of the Hash name
Namespace of the serialbox library.
Factory to create Hash algorithms.
static std::vector< std::string > registeredHashes()
Get a vector of strings of the registered hashes.