C# Класс Goedel.Cryptography.CryptoProviderBulk

Base class for providers of bulk cryptographic algorithms, e.g. encryption, digest, authentication.
Наследование: CryptoProvider
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
MemoryStream System.IO.MemoryStream

Открытые методы

Метод Описание
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.

Описание методов

Process() публичный Метод

Processes the specified input data.
public Process ( CryptoData Data ) : CryptoData
Data CryptoData The input to process
Результат CryptoData

Process() публичный Метод

Processes the specified byte array
public Process ( byte Buffer ) : CryptoData
Buffer byte The input to process
Результат CryptoData

Process() публичный абстрактный Метод

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.
Результат CryptoData

Process() публичный Метод

Processes the specified string in UTF8 encoding.
public Process ( string Data ) : CryptoData
Data string The input to process
Результат CryptoData

ProcessPart() публичный Метод

Part processes the specified region of the specified byte array.
public ProcessPart ( byte Buffer ) : void
Buffer byte The input to process
Результат void

ProcessPart() публичный Метод

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.
Результат void

ProcessPart() публичный Метод

Part processes the specified region of the specified string in UTF8 encoding.
public ProcessPart ( string Data ) : void
Data string The input to process
Результат void

TransformFinal() публичный Метод

Terminates a part processing session and returns the result.
public TransformFinal ( ) : CryptoData
Результат CryptoData

Описание свойств

MemoryStream защищенное свойство

Memory stream used in part processing mode.
protected MemoryStream,System.IO MemoryStream
Результат System.IO.MemoryStream