Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Count of used squares: " + GetUsedSquares(key));
            Console.WriteLine("Count of groups: " + GetGroupCount(KnotHash.GetDenseHashBinary(key)));

            Console.Read();
        }
Ejemplo n.º 2
0
        public static string[] GetKnotHashes(string key)
        {
            string[] grid = new string[128];
            for (int i = 0; i < grid.Length; i++)
            {
                grid[i] = KnotHash.GetKnotHash(key + "-" + i);
            }

            return(grid);
        }