Dela via


KeyDerivationAlgorithmNames.Sp800108CtrHmacSha1 Property

Definition

Retrieves a string that contains "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

Property Value

String

Platform::String

winrt::hstring

String that contains "SP800_108_CTR_HMAC_SHA1".

Remarks

Use the string retrieved by this property to set the Key Derivation Function (KDF) name when you call the OpenAlgorithm method on the KeyDerivationAlgorithmProvider class. The string represents a Sp800-108 algorithm in counter mode that uses a Hashed Message Authentication Code based on the Secure Hash Algorithm 1 message digest algorithm (HmacSha1) as the underlying pseudorandom function.

To use this KDF, you must specify the appropriate parameters by calling the BuildForSP800108 method on the KeyDerivationParameters before calling the CreateKey method to derive a key.

Applies to

See also