refactor: add .editorconfig and refactor code

This commit is contained in:
2024-12-25 05:43:30 +03:00
parent 2a33ecbf07
commit 408a95e4b3
45 changed files with 371 additions and 75 deletions

View File

@ -34,8 +34,8 @@ public class PasswordHashService
if (a.Length != b.Length)
return false;
int result = 0;
for (int i = 0; i < a.Length; i++)
var result = 0;
for (var i = 0; i < a.Length; i++)
result |= a[i] ^ b[i];
return result == 0;
}