KeyDerivationAlgorithmNames.Sp80056aConcatSha256 屬性

定義

擷取包含 「SP800_108_CTR_HMAC_SHA256」 的字串。

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

屬性值

String

Platform::String

winrt::hstring

包含 「SP800_108_CTR_HMAC_SHA256」 的字串。

備註

當您在KeyDerivationAlgorithmProvider類別上呼叫OpenAlgorithm方法時,請使用此屬性所擷取的字串來設定金鑰衍生函式 (KDF) 名稱。 字串代表 Sp800-56a 演算法,此演算法會根據 SHA256 (安全雜湊演算法 256) 訊息摘要演算法作為基礎虛擬隨機函數,使用雜湊驗證碼 (HMAC) 。

若要使用此 KDF,您必須在KeyDerivationParameters類別上呼叫BuildForSP80056a方法,以指定適當的參數。 在 CreateKey 方法使用函式來衍生金鑰之前,這些參數會在內部串連。

適用於

另請參閱