string str = “123456 string 1344”;
System.Security.Cryptography.MD5CryptoServiceProvider provider = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] byteArray = provider.ComputeHash(System.Text.Encoding.UTF8.GetBytes(str)); double d = BitConverter.ToDouble(byteArray, 0); int i = BitConverter.ToInt32(byteArray, 0);
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/5eafd0a2-1fae-437a-aeb1-f3aeca231