38 QByteArray encryptECB(
const QByteArray &in,
const QByteArray &
key,
bool hex =
false);
42 QByteArray decryptECB(
const QByteArray &in,
const QByteArray &key,
bool hex =
false);
47 QByteArray encryptCBC(
const QByteArray &in,
const QByteArray &key,
const QByteArray &iv,
bool hex =
false);
51 QByteArray decryptCBC(
const QByteArray &in,
const QByteArray &key,
const QByteArray &iv,
bool hex =
false);
56 #endif // QAESWRAPPER_H
#define TTK_MODULE_EXPORT
static constexpr wchar_t key[]
The namespace of the algorithm.
The class of the aes wrapper.