C# Class IronPigeon.SymmetricEncryptionResult

The result of symmetric encryption using a random key, IV.
Inheritance: SymmetricEncryptionVariables
ファイルを表示 Open project: AArnott/IronPigeon Class Usage Examples

Public Methods

Method Description
SymmetricEncryptionResult ( SymmetricEncryptionVariables encryptionVariables, byte ciphertext ) : System

Initializes a new instance of the SymmetricEncryptionResult class.

SymmetricEncryptionResult ( byte key, byte iv, byte ciphertext ) : System

Initializes a new instance of the SymmetricEncryptionResult class.

Method Details

SymmetricEncryptionResult() public method

Initializes a new instance of the SymmetricEncryptionResult class.
public SymmetricEncryptionResult ( SymmetricEncryptionVariables encryptionVariables, byte ciphertext ) : System
encryptionVariables SymmetricEncryptionVariables The key and IV used to encrypt the ciphertext.
ciphertext byte The encrypted data.
return System

SymmetricEncryptionResult() public method

Initializes a new instance of the SymmetricEncryptionResult class.
public SymmetricEncryptionResult ( byte key, byte iv, byte ciphertext ) : System
key byte The randomly generated symmetric key used to encrypt the data.
iv byte The initialization vector used to encrypt the data.
ciphertext byte The encrypted data.
return System