CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
cipher_mode.h
1
2#ifndef _cipher_mode_
3#define _cipher_mode_
4
5namespace System { namespace Security { namespace Cryptography {
6
8enum class CipherMode
9{
11 CBC = 1,
13 ECB = 2,
15 OFB = 3,
17 CFB = 4,
19 CTS = 5
20};
21
22}}}
23
24#endif
CipherMode
Block cipher mode.
Definition: cipher_mode.h:9
@ OFB
Output feedback mode that handles large input blocks in small pieces.
@ CFB
Cipher feedback mode that handles large input blocks in small pieces. Mangling rules differ from such...
@ CBC
Cipher block chaining which combines current block with previous block to improve encryption.
@ CTS
Cipher text stealing mode, behaves like CBC for all but two last blocks of text.
@ ECB
Electronic codebook mode with no inter-block influences; results in weaker encryption.
Definition: db_command.h:9