I have this code:
Byte[] OriginalBytes;
Byte[] EncryptedBytes;
MD5 md5;
md5 = new MD5CryptoServiceProvider();
OriginalBytes = UTF8Encoding.Default.GetBytes(OriginalPassword);
EncryptedBytes = md5.ComputeHash(OriginalBytes);
return BitConverter.ToString(EncryptedBytes);
MessageBox.Show("MD5 Hash is: " + EncryptedBytes);
However I get the error
"A return keyword must not be followed by a object expression."
I'm quite new to C# so any help getting this working would be appreciated :)