File: System\Security\Cryptography\CipherMode.cs
Web Access
Project: src\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj (System.Security.Cryptography)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.ComponentModel;
 
namespace System.Security.Cryptography
{
    // This enum represents supported cipher chaining modes:
    //  cipher block chaining (CBC),
    //  electronic code book (ECB),
    //  cipher feedback (CFB),
    //  ciphertext-stealing (CTS).
    // Not all implementations will support all modes.
    public enum CipherMode
    {
        CBC = 1,
        ECB = 2,
        [EditorBrowsable(EditorBrowsableState.Never)] OFB = 3,
        CFB = 4,
        CTS = 5
    }
}