using System.Security.Cryptography;
public static void Main()
MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider();
UTF8Encoding encoder = new UTF8Encoding();
byte[] hash = md5Hasher.ComputeHash(encoder.GetBytes("apiv2-6765"));
string finalHash = Convert.ToBase64String(hash);
Console.WriteLine(finalHash);