diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-27 15:07:29 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-27 15:07:29 +0200 |
| commit | 672ebc3868997c44b83f7afe59e9b4d876135247 (patch) | |
| tree | f2a7a48dc1ff6c85e417767bfd237be331897423 /src/crypt/cryptaes.h | |
| parent | 220702c05e5c67817e5ba45765fd75ead8e92bb3 (diff) | |
| download | IT-Sicherheit-672ebc3868997c44b83f7afe59e9b4d876135247.tar.gz IT-Sicherheit-672ebc3868997c44b83f7afe59e9b4d876135247.zip | |
Add an AES implementation with openssl evp
Diffstat (limited to 'src/crypt/cryptaes.h')
| -rw-r--r-- | src/crypt/cryptaes.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/crypt/cryptaes.h b/src/crypt/cryptaes.h new file mode 100644 index 0000000..58ddba1 --- /dev/null +++ b/src/crypt/cryptaes.h @@ -0,0 +1,21 @@ +#ifndef CRYPTAES_H +#define CRYPTAES_H + +#include "cryptclassevp.h" + +#include <QDebug> + +class CryptAes : public CryptClassEvp +{ +public: + CryptAes(); + + // CryptClassEvp interface +public: + virtual const EVP_CIPHER *algorithm(); + + virtual void encrypt(); + virtual void decrypt(); +}; + +#endif // CRYPTAES_H |
