Skip to content

app/integration/HasherFactory.hpp

More...

Classes

Name
class HasherFactory

Detailed Description

Date: 2024-02-22 Henrique A. Klein ([email protected])

Source code

#ifndef _HASHER_FACTORY_HPP_
#define _HASHER_FACTORY_HPP_

#include "crypto/hasher/hasher_impl.hpp"

class HasherFactory
{
public:
    static std::shared_ptr<sgns::crypto::Hasher> create()
    {
        return std::make_shared<sgns::crypto::HasherImpl>();
    }
};
#endif

Updated on 2026-03-04 at 13:10:44 -0800