AesCipherMode.cs 648 B

1234567891011121314151617181920212223242526
  1. namespace Renci.SshNet.Security.Cryptography.Ciphers
  2. {
  3. /// <summary>
  4. /// Custom AES Cipher Mode, follows System.Security.Cryptography.CipherMode.
  5. /// </summary>
  6. public enum AesCipherMode
  7. {
  8. /// <summary>Cipher Block Chain Mode.</summary>
  9. CBC = 1,
  10. /// <summary>Electronic Codebook Mode.</summary>
  11. ECB = 2,
  12. /// <summary>Output Feedback Mode.</summary>
  13. OFB = 3,
  14. /// <summary>Cipher Feedback Mode.</summary>
  15. CFB = 4,
  16. /// <summary>Cipher Text Stealing Mode.</summary>
  17. CTS = 5,
  18. /// <summary>Counter Mode.</summary>
  19. CTR = 6
  20. }
  21. }