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 7e7b3f5 commit 16448b7Copy full SHA for 16448b7
1 file changed
src/Elements.Security/Passwords/PasswordProtector.cs
@@ -89,7 +89,7 @@ public ProtectedPassword Protect(string passwordToProtect, int? iterationCount =
89
90
string protectedPassword = passwordToProtect + salt;
91
for (int iteration = 0; iteration < iterationCount; iteration++) {
92
- protectedPassword = this._hasher.ComputeHash(protectedPassword);
+ protectedPassword = this._hasher.ComputeHash(protectedPassword, true);
93
}
94
95
return new ProtectedPassword(protectedPassword, salt, iterationCount.Value);
0 commit comments