How can I convert the hashed result, which is a byte array, to a string?
byte[] bytePassword = Encoding.UTF8.GetBytes(password); using (MD5 md5 = MD5.Create())
You can use Convert.ToBase64String and Convert.FromBase64String to easily convert byte arrays into strings.
Convert.ToBase64String
Convert.FromBase64String