C# Class Goedel.Cryptography.CryptoProviderBulk

Base class for providers of bulk cryptographic algorithms, e.g. encryption, digest, authentication.
Inheritance: CryptoProvider
Afficher le fichier Open project: hallambaker/Mathematical-Mesh

Protected Properties

Свойство Type Description
MemoryStream System.IO.MemoryStream

Méthodes publiques

Méthode 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 méthode

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

Process() public méthode

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

Process() public abstract méthode

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.
Résultat CryptoData

Process() public méthode

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

ProcessPart() public méthode

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

ProcessPart() public méthode

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.
Résultat void

ProcessPart() public méthode

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

TransformFinal() public méthode

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

Property Details

MemoryStream protected_oe property

Memory stream used in part processing mode.
protected MemoryStream,System.IO MemoryStream
Résultat System.IO.MemoryStream