# < Summary

Information

Class: | Renci.SshNet.Security.Cryptography.StreamCipher
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\Cryptography\StreamCipher.cs

Line coverage
100%

Covered lines: | 3
Uncovered lines: | 0
Coverable lines: | 3
Total lines: | 20
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\Cryptography\StreamCipher.cs

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

# Methods/Properties

.ctor(System.Byte[])