private KnotHash Process(int[] bytes) { int arrayLength = 256; var array = new int[arrayLength]; for (int i = 0; i < arrayLength; i++) { array[i] = i; } var knotHash = new KnotHash() { Pos = 0, Skip = 0, Data = array, HashLengths = bytes }; knotHash.DoHash(); return(knotHash); }