C# Class Salsa20Cipher.Salsa20Engine

Inheritance: ICipherEngine
显示文件 Open project: sbennett1990/KeePass-SalsaCipher

Public Methods

Method Description
DecryptStream ( Stream encryptedStream, byte key, byte iv ) : Stream

Decrypt the incoming encryptedStream.

EncryptStream ( Stream plainTextStream, byte key, byte iv ) : Stream

Encrypt the incoming plainTextStream.

Salsa20Engine ( ) : System.IO

Basic constructor

Method Details

DecryptStream() public method

Decrypt the incoming encryptedStream.
public DecryptStream ( Stream encryptedStream, byte key, byte iv ) : Stream
encryptedStream System.IO.Stream
key byte
iv byte
return System.IO.Stream

EncryptStream() public method

Encrypt the incoming plainTextStream.
public EncryptStream ( Stream plainTextStream, byte key, byte iv ) : Stream
plainTextStream System.IO.Stream
key byte
iv byte
return System.IO.Stream

Salsa20Engine() public method

Basic constructor
public Salsa20Engine ( ) : System.IO
return System.IO