KeyDerivationAlgorithmNames.Sp800108CtrHmacSha1 屬性

定義

擷取包含 「SP800_108_CTR_HMAC_SHA1」 的字串。

public:
 static property Platform::String ^ Sp800108CtrHmacSha1 { Platform::String ^ get(); };
static winrt::hstring Sp800108CtrHmacSha1();
public static string Sp800108CtrHmacSha1 { get; }
var string = KeyDerivationAlgorithmNames.sp800108CtrHmacSha1;
Public Shared ReadOnly Property Sp800108CtrHmacSha1 As String

屬性值

String

Platform::String

winrt::hstring

包含 「SP800_108_CTR_HMAC_SHA1」 的字串。

備註

當您在KeyDerivationAlgorithmProvider類別上呼叫OpenAlgorithm方法時,請使用此屬性所擷取的字串,在 KDF) 名稱中設定 Key Deriv (ation 函式。 此字串代表計數器模式中的 Sp800-108 演算法,此演算法會根據安全雜湊演算法 1 訊息摘要演算法使用雜湊訊息驗證程式代碼, (HmacSha1) 作為基礎虛擬隨機函數。

若要使用此 KDF,您必須先在KeyDerivationParameters上呼叫BuildForSP800108方法,再呼叫CreateKey方法來衍生金鑰,以指定適當的參數。

適用於

另請參閱