ImagingTools Core SDK
IHashGenerator.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IPolymorphic.h>
7
8
9namespace imtcrypt
10{
11
12
17class IHashGenerator: virtual public istd::IPolymorphic
18{
19public:
24 virtual QByteArray GenerateHash(const QByteArray& input) const = 0;
25
30 virtual bool ValidateHash(const QByteArray& inputData, const QByteArray& hashValue) const = 0;
31
32};
33
34
35} //namespace imtcrypt
36
37
virtual bool ValidateHash(const QByteArray &inputData, const QByteArray &hashValue) const =0
virtual QByteArray GenerateHash(const QByteArray &input) const =0
Cryptography and Encryption Services Module.