StreamCipher.cs 596 B

1234567891011121314151617181920
  1. using System;
  2. namespace Renci.SshNet.Security.Cryptography
  3. {
  4. /// <summary>
  5. /// Base class of stream cipher algorithms.
  6. /// </summary>
  7. public abstract class StreamCipher : SymmetricCipher
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="StreamCipher"/> class.
  11. /// </summary>
  12. /// <param name="key">The key.</param>
  13. /// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception>
  14. protected StreamCipher(byte[] key)
  15. : base(key)
  16. {
  17. }
  18. }
  19. }