public static byte[] EncryptPassword(string password)
{
var unprotectedBytes = Encoding.UTF8.GetBytes(password);
var protectedBytes = System.Security.Cryptography.ProtectedData.Protect(unprotectedBytes, null, System.Security.Cryptography.DataProtectionScope.CurrentUser);
return protectedBytes;
}