|
XX CMake Package
|
uses a simple XOR cipher + some additional obfuscations More...
#include <XXShallowCrypt.h>
uses a simple XOR cipher + some additional obfuscations
THIS IS NOT A SAFE ENCRYPTION!
Public Member Functions | |
| ShallowCrypt (QByteArray key=QSysInfo::machineUniqueId(), QCryptographicHash::Algorithm algorithm=QCryptographicHash::Sha1) | |
| no key => no encryption! | |
| QByteArray | bury (const QString &plainText) const |
| QString | revive (const QByteArray encryptedText) const |
| XX::ShallowCrypt::ShallowCrypt | ( | QByteArray | key = QSysInfo::machineUniqueId(), |
| QCryptographicHash::Algorithm | algorithm = QCryptographicHash::Sha1 ) |
no key => no encryption!
| QByteArray XX::ShallowCrypt::bury | ( | const QString & | plainText | ) | const |
| QString XX::ShallowCrypt::revive | ( | const QByteArray | encryptedText | ) | const |