Merge pull request #2885 from adhaliwal34/comment-change

Fix comment regarding the length of the salt bytes array
This commit is contained in:
Sebastiaan Janssen
2018-08-31 20:27:32 +02:00
committed by GitHub

View File

@@ -720,7 +720,7 @@ namespace Umbraco.Core.Security
}
else
{
//if the salt bytes is too long for the required key length for the algorithm, extend it
//if the salt bytes is too short for the required key length for the algorithm, extend it
var numArray2 = new byte[keyedHashAlgorithm.Key.Length];
var dstOffset = 0;
while (dstOffset < numArray2.Length)
@@ -963,4 +963,4 @@ namespace Umbraco.Core.Security
}
}
}
}