#include <EncryptionAlgorithm.h>
|
| enum | IRep {
NONE = 0
, TWOFISH = 1
, RIJNDAEL128 = 2
, RIJNDAEL192 = 3
,
RIJNDAEL256 = 4
, SAFERPLUS = 5
, RC2 = 6
, XTEA = 7
,
SERPENT = 8
, SAFERSK64 = 9
, SAFERSK128 = 10
, CAST256 = 11
,
LOKI97 = 12
, GOST = 13
, THREEWAY = 14
, CAST128 = 15
,
BLOWFISH = 16
, DES = 17
, TRIPLEDES = 18
, ENIGMA = 19
,
ARCFOUR = 20
, PANAMA = 21
, WAKE = 22
} |
| | integer representation of encryption algorithm More...
|
| |
|
| static const unsigned int | IRep_size = 5 |
| | number of bits needed to code the algorithm
More...
|
| |
◆ Translation
◆ IRep
| Enumerator |
|---|
| NONE | |
| TWOFISH | |
| RIJNDAEL128 | |
| RIJNDAEL192 | |
| RIJNDAEL256 | |
| SAFERPLUS | |
| RC2 | |
| XTEA | |
| SERPENT | |
| SAFERSK64 | |
| SAFERSK128 | |
| CAST256 | |
| LOKI97 | |
| GOST | |
| THREEWAY | |
| CAST128 | |
| BLOWFISH | |
| DES | |
| TRIPLEDES | |
| ENIGMA | |
| ARCFOUR | |
| PANAMA | |
| WAKE | |
◆ EncryptionAlgorithm() [1/3]
| EncryptionAlgorithm::EncryptionAlgorithm |
( |
void |
| ) |
|
◆ EncryptionAlgorithm() [2/3]
◆ EncryptionAlgorithm() [3/3]
| EncryptionAlgorithm::EncryptionAlgorithm |
( |
std::string |
srep | ) |
|
construct a new EncryptionAlgorithm object from a std::string representation
- Parameters
-
| srep | a valid(!) std::string representation |
◆ getIntegerRep()
◆ getStringRep()
| std::string EncryptionAlgorithm::getStringRep |
( |
void |
| ) |
const |
◆ isValidIntegerRep()
| bool EncryptionAlgorithm::isValidIntegerRep |
( |
unsigned int |
irep | ) |
|
|
static |
◆ isValidStringRep()
| bool EncryptionAlgorithm::isValidStringRep |
( |
std::string |
srep | ) |
|
|
static |
check if srep is a valid std::string representation (w.r.t the Translations array)
- Parameters
-
| srep | a std::string that maybe represents an encryption algorithm fron the Translations table |
- Returns
- true iff the Translations table contains srep
◆ operator==()
◆ setValue()
◆ translate() [1/2]
translate an integer representation into the corresponding std::string representation
◆ translate() [2/2]
translate a valid std::string representation into the corresponding integer representation
◆ IRep_size
| const unsigned int EncryptionAlgorithm::IRep_size = 5 |
|
static |
◆ NumValues
| const unsigned int EncryptionAlgorithm::NumValues = 23 |
|
staticprivate |
◆ Translations
Initial value:= {
}
@ GOST
Definition: EncryptionAlgorithm.h:46
@ BLOWFISH
Definition: EncryptionAlgorithm.h:49
@ RIJNDAEL192
Definition: EncryptionAlgorithm.h:36
@ TRIPLEDES
Definition: EncryptionAlgorithm.h:51
@ SERPENT
Definition: EncryptionAlgorithm.h:41
@ RIJNDAEL256
Definition: EncryptionAlgorithm.h:37
@ SAFERSK64
Definition: EncryptionAlgorithm.h:42
@ RIJNDAEL128
Definition: EncryptionAlgorithm.h:35
@ CAST256
Definition: EncryptionAlgorithm.h:44
@ RC2
Definition: EncryptionAlgorithm.h:39
@ THREEWAY
Definition: EncryptionAlgorithm.h:47
@ ENIGMA
Definition: EncryptionAlgorithm.h:52
@ WAKE
Definition: EncryptionAlgorithm.h:55
@ NONE
Definition: EncryptionAlgorithm.h:33
@ ARCFOUR
Definition: EncryptionAlgorithm.h:53
@ DES
Definition: EncryptionAlgorithm.h:50
@ SAFERPLUS
Definition: EncryptionAlgorithm.h:38
@ TWOFISH
Definition: EncryptionAlgorithm.h:34
@ LOKI97
Definition: EncryptionAlgorithm.h:45
@ CAST128
Definition: EncryptionAlgorithm.h:48
@ SAFERSK128
Definition: EncryptionAlgorithm.h:43
@ PANAMA
Definition: EncryptionAlgorithm.h:54
@ XTEA
Definition: EncryptionAlgorithm.h:40
◆ Value
| IRep EncryptionAlgorithm::Value |
|
private |
The documentation for this class was generated from the following files: