using System.Security.Cryptography;
public static void Main() {
var sha512 = new SHA512Managed();
byte[] hash = sha512.ComputeHash(Encoding.UTF8.GetBytes("teste"));
var result = new StringBuilder();
foreach (byte b in hash) result.Append($"{b:x2}");
Console.WriteLine(result);