Esempio 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();
        }
Esempio 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);
        }