La funzione:
codice:
System.Security.Cryptography.MD5.Create().ComputeHash(Input, 0, Input.Length)
Restituisce un array di bytes che costituisce l'hash di input, dove Input è a sua volta un arra di bytes. Puoi ricavaere Input ad esempio con System.Text.UTF8Encoding.UTF8.GetBytes(Stringa).