using System.Collections.Generic;
using System.Security.Cryptography;
public static void Main()
using (MD5 md5 = MD5.Create()) {
var hash = md5.ComputeHash(Encoding.ASCII.GetBytes("lol"));
Console.WriteLine($"Hash length: {hash.ToString().Length}");
Guid guid = new Guid(hash);
Console.WriteLine($"GUID length: {guid.ToString().Length}");
string converted = Convert.ToBase64String(guid.ToByteArray());
Console.WriteLine($"Base64 length: {converted.Length}");