We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e581ef commit cd48fccCopy full SHA for cd48fcc
OnixLabs.Security.Cryptography/HashAlgorithmType.Get.cs
@@ -58,7 +58,7 @@ public HashAlgorithm GetHashAlgorithm(int length = UnknownLength)
58
/// </summary>
59
/// <param name="key">The key that should be used by the keyed hash algorithm.</param>
60
/// <returns>Returns a <see cref="KeyedHashAlgorithm"/> for this <see cref="HashAlgorithmType"/>.</returns>
61
- /// <exception cref="ArgumentException">If the hash algorithm is unknown.</exception>
+ /// <exception cref="ArgumentException">If the hash algorithm is unknown or is not a keyed hash algorithm.</exception>
62
public KeyedHashAlgorithm GetKeyedHashAlgorithm(byte[]? key = null)
63
{
64
if (!Keyed)
0 commit comments