KeyDerivationAlgorithmNames.Sp800108CtrHmacMd5 属性

定义

检索包含“SP800_108_CTR_HMAC_MD5”的字符串。

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

属性值

String

Platform::String

winrt::hstring

包含“SP800_108_CTR_HMAC_MD5”的字符串。

注解

KeyDerivationAlgorithmProvider 类上调用 OpenAlgorithm 方法时,使用此属性检索到的字符串设置密钥派生函数 (KDF) 名称。 字符串表示计数器模式下的 Sp800-108 算法,该算法使用基于 MD5 摘要算法的哈希消息身份验证代码 (HmacMd5) 作为基础伪随机函数。

若要使用此 KDF,必须在调用 CreateKey 方法派生密钥之前,通过在 KeyDerivationParameters 上调用 BuildForSP800108 方法来指定适当的参数。

适用于

另请参阅