using System.Security.Cryptography;
public static void Main()
var hash = CreateHash("guid", "salt");
Console.WriteLine($"Novo Hash Gerado: {hash}");
public static string CreateHash(string password, string saltString)
var bytes = Encoding.UTF8.GetBytes(password + saltString);
return Convert.ToBase64String(SHA512.Create().ComputeHash(bytes));