Skip to content

Commit 5bbe36c

Browse files
committed
Merged PR 21273: Add remark to CreateHash about keyMaterial value
Add remark to CreateHash about keyMaterial value. This is to address GitHub issue [1322](#1322).
1 parent b1e383e commit 5bbe36c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

windows.security.cryptography.core/macalgorithmprovider_createhash_851111259.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,25 @@ public Windows.Security.Cryptography.Core.CryptographicHash CreateHash(Windows.S
1010
# Windows.Security.Cryptography.Core.MacAlgorithmProvider.CreateHash
1111

1212
## -description
13+
1314
Creates a [CryptographicHash](cryptographichash.md) object that supports incremental hash operations.
1415

1516
## -parameters
17+
1618
### -param keyMaterial
19+
1720
Random data used to help generate the hash. You can call the [GenerateRandom](../windows.security.cryptography/cryptographicbuffer_generaterandom_1645545930.md) method to create the random data.
1821

1922
## -returns
23+
2024
A [CryptographicHash](cryptographichash.md) object that supports incremental hash operations.
2125

2226
## -remarks
2327

28+
Note that using the same *keyMaterial* will result in the same hashes being produced by the returned **CryptographicHash** for the same input. The *keyMaterial* provided should be known data in order to re-create the hash later.
29+
2430
## -examples
2531

2632
## -see-also
33+
34+
[GenerateRandom](../windows.security.cryptography/cryptographicbuffer_generaterandom_1645545930.md), [CryptographicHash](cryptographichash.md)

0 commit comments

Comments
 (0)