Update AbstractSKA.hpp

This commit is contained in:
Loic GUEGAN 2015-03-08 13:55:15 +04:00
parent 4921e17d62
commit 26ed8d2c91

View file

@ -9,12 +9,13 @@
*/ */
/** /**
* @class AbstractSKA AbstractSKA.hpp "/CryptClass/AbstractSKA.hpp" * @class AbstractSKA AbstractSKA.hpp "/CryptClass/AbstractSKA.hpp"
* @brief Class for Symmetric-Key Algorithm (SKA) * @brief Class for Symmetric-Key Algorithm (SKA)
* @author manzerbredes * @author manzerbredes
* *
* This should not be instanciate directly. * This class should not be instanciate directly.
* *
*/ */
@ -24,6 +25,25 @@ class AbstractSKA {
AbstractSKA(); AbstractSKA();
~AbstractSKA(); ~AbstractSKA();
virtual void encrypt(); /**
virtual void decrypt(); * @brief Encrypt data.
*
* @param data : contain data to encrypt.
*
* This method must be overwritten.
* **Warning** data will be modified.
*
*/
virtual void encrypt(char* data) = 0;
/**
* @brief Decrypt data.
*
* @param data : contain data to decrypt.
*
* This method must be overwritten.
* **Warning** data will be modified.
*
*/
virtual void decrypt(char* data) = 0;
}; };