changed name from hasher to util

This commit is contained in:
Sem van der Hoeven
2020-10-14 14:55:31 +02:00
parent 91a20e0af7
commit 037d7732f7
5 changed files with 6 additions and 6 deletions

View File

@@ -233,10 +233,10 @@ namespace DoctorApp.Utils
/// </summary>
public void tryLogin(string username, string password)
{
string hashUser = Hashing.Hasher.HashString(username);
string hashPassword = Hashing.Hasher.HashString(password);
string hashPassword = Util.Hasher.HashString(password);
byte[] message = DataParser.getJsonMessage(DataParser.LoginAsDoctor(hashUser, hashPassword));
byte[] message = DataParser.getJsonMessage(DataParser.LoginAsDoctor(username, hashPassword));
this.stream.BeginWrite(message, 0, message.Length, new AsyncCallback(OnWrite), null);