Fix comment regarding the length of the salt bytes array

This commit is contained in:
AJ_Dhaliwal
2018-08-30 18:01:25 +08:00
parent 58dab23d04
commit cc680f2cfb

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
}
}
}
}