C# Class SerpentCipher.SerpentCipherEngine

Inheritance: ICipherEngine
ファイルを表示 Open project: drizzt/KeePass-SerpentCipher

Public Methods

Method Description
DecryptStream ( Stream sEncrypted, byte pbKey, byte pbIV ) : Stream
EncryptStream ( Stream sPlainText, byte pbKey, byte pbIV ) : Stream
SerpentCipherEngine ( ) : System

Private Methods

Method Description
CreateStream ( Stream s, bool bEncrypt, byte pbKey, byte pbIV ) : Stream
ValidateArguments ( Stream stream, bool bEncrypt, byte pbKey, byte pbIV ) : void

Method Details

DecryptStream() public method

public DecryptStream ( Stream sEncrypted, byte pbKey, byte pbIV ) : Stream
sEncrypted Stream
pbKey byte
pbIV byte
return Stream

EncryptStream() public method

public EncryptStream ( Stream sPlainText, byte pbKey, byte pbIV ) : Stream
sPlainText Stream
pbKey byte
pbIV byte
return Stream

SerpentCipherEngine() public method

public SerpentCipherEngine ( ) : System
return System