Exemple #1
0
        public string GetHashAsBinary(string input)
        {
            var ret = "";
            //do all the twisting
            var hash = _hashSolver.GetDenseHash(input);

            ret = ConvertHexStringToBinary(hash);
            return(ret);
        }
 public void ExampleTestCases(string input, string expected)
 {
     _systemUnderTest = new DenseKnotHashSolver();
     Assert.AreEqual(expected, _systemUnderTest.GetDenseHash(input));
 }