Skip to Content
Programming .NET Security
book

Programming .NET Security

by Adam Freeman, Allen Jones
June 2003
Intermediate to advanced
714 pages
22h 8m
English
O'Reilly Media, Inc.
Content preview from Programming .NET Security

Name

CipherMode

Synopsis

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET Framework Security

.NET Framework Security

Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
.NET Security and Cryptography

.NET Security and Cryptography

Peter Thorsteinson, G. Gnana Arun Ganesh
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 0596004427Supplemental ContentErrata Page