public void ScryptSmixTest() { var B0 = @" f7ce0b65 3d2d72a4 108cf5ab e912ffdd 777616db bb27a70e 8204f3ae 2d0f6fad 89f68f48 11d1e87b cc3bd740 0a9ffd29 094f0184 639574f3 9ae5a131 5217bcd7" .Clean(); var B1 = @" 89499144 7213bb22 6c25b54d a86370fb cd984380 374666bb 8ffcb5bf 40c254b0 67d27c51 ce4ad5fe d829c90b 505a571b 7f4d1cad 6a523cda 770e67bc eaaf7e89" .Clean(); var B0o = @" a41f859c 6608cc99 3b81cacb 020cef05 044b2181 a2fd337d fd7b1c63 96682f29 b4393168 e3c9e6bc fe6bc5b7 a06d96ba e424cc10 2c91745c 24ad673d c7618f81" .Clean(); var B1o = @" 20edc975 323881a8 0540f64c 162dcd3c 21077cfe 5f8d5fe2 b1a4168f 953678b7 7d3b3d80 3b60e4ab 920996e5 9b4d53b6 5d2a2258 77d5edf5 842cb9f1 4eefe425" .Clean(); var input = Encoders.Hex.GetBytes(B0 + B1); var output = Encoders.Hex.GetBytes(B0o + B1o); SCrypt.BlockMixSalsa8(input, 0, 0, 1); CollectionAssert.AreEqual(input, output); }