a5641974b2ef5d2c8a59606629b228cca40c41b0
[mono.git] / mcs / class / corlib / System.Security.Cryptography / PaddingMode.cs
1 //\r
2 // System.Security.Cryptography PaddingMode enumeration\r
3 //\r
4 // Authors:\r
5 //   Matthew S. Ford (Matthew.S.Ford@Rose-Hulman.Edu)\r
6 //\r
7 // Copyright 2001 by Matthew S. Ford.\r
8 //\r
9 \r
10 \r
11 namespace System.Security.Cryptography {\r
12         \r
13         /// <summary>\r
14         /// How to pad the message processed by block ciphers when they don't come out to the being the size of the block.\r
15         /// </summary>\r
16         public enum PaddingMode {\r
17                 PKCS7, // Each byte contains the value of the number of padding bytes.\r
18                 Zeros  // Append zeros to the message.\r
19         }\r
20 }\r
21         \r