summaryrefslogtreecommitdiffstats
path: root/src/crypt/cryptaes.h
blob: e0de1b193c8d15f14c71fee29cc71fda24c02d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CRYPTAES_H
#define CRYPTAES_H

#include "cryptclassevp.h"
#include "cryptengine.h"

#include <QDebug>

class CryptAes : public CryptClassEvp
{
public:
    CryptAes();

    // CryptClassEvp interface
public:
    virtual const EVP_CIPHER *algorithm();

    virtual void encrypt();
    virtual void decrypt();

private:
    static const int IVLENGTH = 8;
};

#endif // CRYPTAES_H