Header embedded in the SalmonStream. Header contains nonce and other information for decrypting the stream.
More...
|
|
byte[] | MagicBytes = new byte[SalmonGenerator.MAGIC_LENGTH] [get, set] |
| | Magic bytes.
|
| |
|
byte | Version [get, set] |
| | Format version from SalmonGenerator.VERSION.
|
| |
|
int | ChunkSize [get, set] |
| | Chunk size used for data integrity.
|
| |
|
byte[] | Nonce [get, set] |
| | Starting nonce for the CTR mode. This is the upper part of the Counter.
|
| |
|
byte[] | HeaderData [get, set] |
| | Binary data.
|
| |
Header embedded in the SalmonStream. Header contains nonce and other information for decrypting the stream.
◆ ParseHeaderData()
| static SalmonHeader Mku.Salmon.SalmonHeader.ParseHeaderData |
( |
Stream | stream | ) |
|
|
static |
Parse the header data from the stream.
- Parameters
-
- Returns
- The header
- Exceptions
-
| IOException | Thrown if error during IO |
The documentation for this class was generated from the following file: