Salmon
Loading...
Searching...
No Matches
Mku.Salmon.Streams Namespace Reference

Encryption and decryption streams. More...

Classes

class  AesStream
 Stream decorator provides AES256 encryption and decryption of stream. Block data integrity is also supported. More...
 

Enumerations

enum  EncryptionFormat { Generic , Salmon }
 Encryption Format. More...
 
enum  EncryptionMode { Encrypt , Decrypt }
 Encryption Mode. More...
 
enum  ProviderType { Default = 0 , AesIntrinsics = 1 , Aes = 2 , AesGPU = 3 }
 AES provider types. List of AES implementations that currently supported. More...
 

Detailed Description

Encryption and decryption streams.

Enumeration Type Documentation

◆ EncryptionFormat

Encryption Format.

See: Generic

See: Salmon

Enumerator
Generic 

Generic format without header information, compatible with other AES-256 CTR libraries.

Salmon 

Salmon format with header (embedded nonce and integrity support).

◆ EncryptionMode

Encryption Mode.

See: Encrypt

See: Decrypt

Enumerator
Encrypt 

Encryption Mode used with a base stream as a target.

Decrypt 

Decryption Mode used with a base stream as a source.

◆ ProviderType

AES provider types. List of AES implementations that currently supported.

Default see: Default

Aes CPU-Accelerated see: AesIntrinsics

Aes Native see: Aes

Aes GPU-Accelerated see: AesGPU

Enumerator
Default 

Default .NET AES cipher.

AesIntrinsics 

Salmon builtin AES intrinsics. This needs the SalmonNative library to be loaded. See: README.md

Aes 

Salmon builtin AES. Works with almost all hardware. This needs the SalmonNative library to be loaded. See: README.md

AesGPU 

Salmon builtin AES GPU. This needs OpenCL, a compatible Graphics card, and the SalmonNative library to be loaded. See: README.md