C# Class Goedel.Cryptography.CryptoProviderBulk

Base class for providers of bulk cryptographic algorithms, e.g. encryption, digest, authentication.
Inheritance: CryptoProvider
ファイルを表示 Open project: hallambaker/Mathematical-Mesh

Protected Properties

Property Type Description
MemoryStream System.IO.MemoryStream

Public Methods

Method Description
Process ( CryptoData Data ) : CryptoData

Processes the specified input data.

Process ( byte Buffer ) : CryptoData

Processes the specified byte array

Process ( byte Buffer, int offset, int count ) : CryptoData

Processes the specified region of the specified byte array

Process ( string Data ) : CryptoData

Processes the specified string in UTF8 encoding.

ProcessPart ( byte Buffer ) : void

Part processes the specified region of the specified byte array.

ProcessPart ( byte Buffer, int offset, int count ) : void

Part processes the specified region of the specified byte array. [Efficiency] Currently the data is buffered internally and processed in one go. Use of the underlying TransformBlock methods would allow for more efficient processing and reduce memory overhead.

ProcessPart ( string Data ) : void

Part processes the specified region of the specified string in UTF8 encoding.

TransformFinal ( ) : CryptoData

Terminates a part processing session and returns the result.

Method Details

Process() public method

Processes the specified input data.
public Process ( CryptoData Data ) : CryptoData
Data CryptoData The input to process
return CryptoData

Process() public method

Processes the specified byte array
public Process ( byte Buffer ) : CryptoData
Buffer byte The input to process
return CryptoData

Process() public abstract method

Processes the specified region of the specified byte array
public abstract Process ( byte Buffer, int offset, int count ) : CryptoData
Buffer byte The input to process
offset int The offset into the byte array from which to begin using data.
count int The number of bytes in the array to use as data.
return CryptoData

Process() public method

Processes the specified string in UTF8 encoding.
public Process ( string Data ) : CryptoData
Data string The input to process
return CryptoData

ProcessPart() public method

Part processes the specified region of the specified byte array.
public ProcessPart ( byte Buffer ) : void
Buffer byte The input to process
return void

ProcessPart() public method

Part processes the specified region of the specified byte array. [Efficiency] Currently the data is buffered internally and processed in one go. Use of the underlying TransformBlock methods would allow for more efficient processing and reduce memory overhead.
public ProcessPart ( byte Buffer, int offset, int count ) : void
Buffer byte The input to process
offset int The offset into the byte array from which to begin using data.
count int The number of bytes in the array to use as data.
return void

ProcessPart() public method

Part processes the specified region of the specified string in UTF8 encoding.
public ProcessPart ( string Data ) : void
Data string The input to process
return void

TransformFinal() public method

Terminates a part processing session and returns the result.
public TransformFinal ( ) : CryptoData
return CryptoData

Property Details

MemoryStream protected_oe property

Memory stream used in part processing mode.
protected MemoryStream,System.IO MemoryStream
return System.IO.MemoryStream