[ Team LiB ] Previous Section Next Section

CipherModeserializable

System.Security.Cryptography (mscorlib.dll)enum
public enum CipherMode {
   CBC = 1,ECB = 2,OFB = 3,CFB = 4,CTS = 5
}

The SymmetricAlgorithm.Mode property gets and sets a value from the CipherMode enumeration; the enumeration values represent different cipher modes, which affect the way in which data is processed during encryption.

The most commonly used CipherMode values are CBC (Cipher Block Chaining), which is suitable for most encryption tasks, and CFB (Cipher Feedback), which is suitable for encrypting data that is processed in small chunks.

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) CipherMode

Returned By

SymmetricAlgorithm.Mode

Passed To

SymmetricAlgorithm.Mode

    [ Team LiB ] Previous Section Next Section