ICryptoTransform 介面

定義

定義密碼編譯轉換的基本作業。

public interface class ICryptoTransform : IDisposable
public interface ICryptoTransform : IDisposable
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICryptoTransform : IDisposable
type ICryptoTransform = interface
    interface IDisposable
[<System.Runtime.InteropServices.ComVisible(true)>]
type ICryptoTransform = interface
    interface IDisposable
Public Interface ICryptoTransform
Implements IDisposable
衍生
屬性
實作

備註

雜湊演算法是密碼編譯轉換的範例, (HashAlgorithm) 。

屬性

CanReuseTransform

取得值,表示目前的轉換是否可重複使用。

CanTransformMultipleBlocks

取得值,表示是否有多個區塊可被轉換。

InputBlockSize

取得輸入區塊的大小。

OutputBlockSize

取得輸出區塊的大小。

方法

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

(繼承來源 IDisposable)
TransformBlock(Byte[], Int32, Int32, Byte[], Int32)

轉換輸入位元組陣列中指定的區域,並且將產生的轉換複製到輸出位元組陣列中指定的區域。

TransformFinalBlock(Byte[], Int32, Int32)

轉換所指定位元組陣列的指定區域。

適用於

另請參閱