 <pre><code>byte[] temp1 = BitConvert.GetBytes(num1); byte[] temp2 = BitConvert.GetBytes(num2); Array.Copy(temp1, 0, buf, 0, 4); Array.Copy(temp2, 0, buf, 4, 4); Array.Copy(buf, 8, headers.key3, 0, 8) buf[16] = 0; Array.Copy(buf, target, 16) target[16] = 0; Using MD5 hasher = new MD5CryptoServiceProvider() target = hasher.ComputeHash(buf); End Using </code></pre>