utton1.Location=new System.Drawing.Point (884, 0) ;. button1.Name= button1 raquo ;;. button1.Size=new System.Drawing.Size (75, 22) ;. button1.TabIndex=1; .button1.Text= Refresh raquo ;;. button1.UseVisualStyleBackColor=true; .button1.Click +=new System.EventHandler (this.button1_Click);
//
//label4
//.label4.AutoSize=true; .label4.Location=new System.Drawing.Point (295, 41) ;. label4.Name= label4 raquo ;;. label4.Size=new System.Drawing.Size (131, 13) ;. label4.TabIndex=30; .label4.Text= Encryption time 0 seconds raquo ;;
//
//progressBar1
//.progressBar1.Location=new System.Drawing.Point (298, 12) ;. progressBar1.Name= progressBar1 raquo ;;. progressBar1.Size=new System.Drawing.Size (380 , 23) ;. progressBar1.TabIndex=29; .progressBar1.Visible=false;
//
//label3
//.label3.AutoSize=true; .label3.Location=new System.Drawing.Point (3, 67) ;. label3.Name= label3 raquo ;;. label3.Size=new System.Drawing.Size (34, 13) ;. label3.TabIndex=28; .label3.Text= Шлях: raquo ;;
//
//panel4
//.panel4.Controls.Add (this.panel5) ;. panel4.Controls.Add (this.panel3) ;. panel4.Dock=System.Windows.Forms.DockStyle.Fill ;. panel4.Location=new System.Drawing.Point (0, 24) ;. panel4.Name= panel4 raquo ;;. panel4.Size=new System.Drawing.Size (959, 582) ;. panel4.TabIndex=29;
//
//panel5
//.panel5.Controls.Add (this.panel1) ;. panel5.Dock=System.Windows.Forms.DockStyle.Fill; .panel5.Location=new System.Drawing.Point (0 , 103) ;. panel5.Name= panel5 raquo ;;. panel5.Size=new System.Drawing.Size (959, 479) ;. panel5.TabIndex=29;
//
//Form1
//.AutoScaleDimensions=new System.Drawing.SizeF (6F, 13F) ;. AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font; .ClientSize=new System.Drawing.Size (959, 606) ;. Controls.Add (this.panel4) ;. Controls.Add (this.menuStrip1) ;. MainMenuStrip=this.menuStrip1; .Name= Form1 raquo ;;. Text= SAFER K - 64 raquo ;;. Load +=new System.EventHandler(this.Form1_Load);.panel1.ResumeLayout(false);.panel2.ResumeLayout(false);.menuStrip1.ResumeLayout(false);.menuStrip1.PerformLayout();.panel3.ResumeLayout(false);.panel3.PerformLayout();.panel6.ResumeLayout(false);.panel6.PerformLayout();.panel4.ResumeLayout(false);.panel5.ResumeLayout(false);.ResumeLayout(false);.PerformLayout();
}
# endregionSystem.Windows.Forms.TextBox textBox1; System.Windows.Forms.Label label1; System.Windows.Forms.TextBox tKey; System.Windows.Forms.Button button2; System.Windows.Forms.Button button3; System.Windows.Forms.TreeView treeView1; System.Windows.Forms.Panel panel1; System.Windows.Forms.Panel panel2; System.Windows.Forms.Splitter splitter1; System.Windows.Forms.ListBox listBox1; System.Windows.Forms.MenuStrip menuStrip1; System.Windows.Forms.ToolStripMenuItem файлToolStripMenuItem; System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; System.Windows.Forms.ToolStripMenuItem зашіфроватьToolStripMenuItem; System.Windows.Forms.ToolStripMenuItem расшіфроватьToolStripMenuItem; System.Windows.Forms. Label label2; System.Windows.Forms.ComboBox comboBox1; System.Windows.Forms.Panel panel3; System.Windows.Forms.Panel panel4; System.Windows.Forms.Panel panel5; System.Windows.Forms.Label label3; System. Windows.Forms.ProgressBar progressBar1; System.Windows.Forms.Label label4; System.Windows.Forms.Panel panel6; System.Windows.Forms.Button button1;
}
} System; System.Collections.Generic; System.Text; WindowsApplication1
{Safer
{string text; string key; int RoundValue; int Round
{{return RoundValue; } {RoundValue=value; }
} string Text
{{return text; } {Text=value; }
} string Key
{{(key.Length!=8)
{new Exception ( Encryption key must have 8 bytes );
} key;
} {(value.Length!=8)
{new Exception ( Encryption key must have 8 bytes );
}=value;
}
}
//ліве ціклірующіх зміщення байта. For example, 111001 зміщуємо ціклірующе на 2 bytes=100111uint LeftCicle (uint value, int count)
{(value gt; gt; count) + (((value lt; lt; (32 - count)) gt; gt; (32 - count)) lt; lt; count);
}
//отримуємо покращений ключ шіфрованіяbyte [] ...