mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* CipherMode.cs: Added missing [Serializable] to enum. * CspProviderFlags.cs: Added missing [Serializable] to enum. * FromBase64Transform.cs: Added missing [Serializable] to enum. * PaddingMode.cs: Added missing [Serializable] to enum. svn path=/trunk/mcs/; revision=10719
24 lines
542 B
C#
24 lines
542 B
C#
//
|
|
// System.Security.Cryptography PaddingMode enumeration
|
|
//
|
|
// Authors:
|
|
// Matthew S. Ford ([email protected])
|
|
//
|
|
// Copyright 2001 by Matthew S. Ford.
|
|
//
|
|
|
|
|
|
namespace System.Security.Cryptography {
|
|
|
|
/// <summary>
|
|
/// How to pad the message processed by block ciphers when they don't come out to the being the size of the block.
|
|
/// </summary>
|
|
[Serializable]
|
|
public enum PaddingMode {
|
|
None = 0x1,
|
|
PKCS7, // Each byte contains the value of the number of padding bytes.
|
|
Zeros // Append zeros to the message.
|
|
}
|
|
}
|
|
|