interfaz
Last change
on this file was
25a5325,
checked in by lhernandez <lhernandez@…>, 8 years ago
|
Realizada mejora de la interfaz(grid), agragada funcionalidad para la creacion de llaves (privada y publica) se guardar en un directorio kyes del proyecto, agragada funcionalidad para el cifrado de un texto plano (por ahora esta comentado, para realizar la interfaz) y agragada funcionalidad para descifrar el archivo a partir de un data.dat cifrado
|
-
Property mode set to
100644
|
File size:
778 bytes
|
Rev | Line | |
---|
[c7b52e9] | 1 | #ifndef EXECUTIONRESULT_H |
---|
| 2 | #define EXECUTIONRESULT_H |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | class ExecutionResult |
---|
| 6 | { |
---|
| 7 | private: |
---|
| 8 | |
---|
| 9 | /** |
---|
| 10 | * @brief tiempo transcurrido durante la generación de clave |
---|
| 11 | */ |
---|
| 12 | int keyGenerationTime; |
---|
| 13 | |
---|
| 14 | /** |
---|
| 15 | * @brief tiempo transcurrido durante el cifrado |
---|
| 16 | */ |
---|
| 17 | int encryptionTime; |
---|
| 18 | |
---|
| 19 | /** |
---|
| 20 | * @brief tiempo transcurrido durante el descifrado |
---|
| 21 | */ |
---|
| 22 | int decryptionTime; |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | public: |
---|
| 26 | ExecutionResult(); |
---|
| 27 | |
---|
| 28 | ExecutionResult(ExecutionResult& e); |
---|
| 29 | |
---|
| 30 | ExecutionResult(int k, int e, int d); |
---|
| 31 | |
---|
| 32 | ~ExecutionResult(); |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | void setKeyGenerationTime(int t); |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | void setKeyEncryptionTime(int t); |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | void setKeyDecryptionTime(int t); |
---|
| 42 | |
---|
| 43 | int getKeyGenerationTime(); |
---|
| 44 | |
---|
| 45 | int getEncryptionTime(); |
---|
| 46 | |
---|
| 47 | int getDecryptionTime(); |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | }; |
---|
| 51 | |
---|
| 52 | #endif // EXECUTIONRESULT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.