PaddingMode.cs 548 B

12345678910111213141516171819202122
  1. //
  2. // System.Security.Cryptography PaddingMode enumeration
  3. //
  4. // Authors:
  5. // Matthew S. Ford ([email protected])
  6. //
  7. // Copyright 2001 by Matthew S. Ford.
  8. //
  9. namespace System.Security.Cryptography {
  10. /// <summary>
  11. /// How to pad the message processed by block ciphers when they don't come out to the being the size of the block.
  12. /// </summary>
  13. public enum PaddingMode {
  14. None = 0x1,
  15. PKCS7, // Each byte contains the value of the number of padding bytes.
  16. Zeros // Append zeros to the message.
  17. }
  18. }