public string CalculateHash(string password)
{
byte[] buffer = Encoding.UTF8.GetBytes(password + Username);
SHA1CryptoServiceProvider cryptoTransformSHA1 = new SHA1CryptoServiceProvider();
return BitConverter.ToString(cryptoTransformSHA1.ComputeHash(buffer)).Replace("-", "");
}