⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.h

📁 simple RSA crypt/decrypt
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TGroupBox *GroupBox1;
        TLabel *Label1;
        TButton *Button1;
        TOpenDialog *OpenDialog1;
        TMemo *Memo1;
        TLabel *Label2;
        TGroupBox *GroupBox2;
        TListBox *ListBox1;
        TLabeledEdit *LabeledEdit1;
        TLabeledEdit *LabeledEdit2;
        TButton *Button2;
        TLabel *Label3;
        TStringGrid *StringGrid1;
        TButton *Button3;
        TSaveDialog *SaveDialog1;
        TGroupBox *GroupBox3;
        TButton *Button4;
        TListBox *ListBox2;
        TButton *Button6;
        TButton *Button7;
        TRichEdit *RichEdit1;
        TLabel *Label7;
        TLabel *Label8;
        TMemo *Memo2;
        TListBox *ListBox3;
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall Button3Click(TObject *Sender);
        void __fastcall Button4Click(TObject *Sender);
        void __fastcall Button6Click(TObject *Sender);
        void __fastcall Button7Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//--------------------------------------------------------------
typedef struct{
AnsiString symb;
int code;
}RRR;
int pages_length;

RRR *K;
AnsiString filename,filetime,name,*filebuffer,*memo_buf;
char *pszBuffer, *alfavit,*pszBuffer1,s[255];
int nn,*ascii_alfavit;
div_t x;
AnsiString* rr;
__int64  N,P,D,E,Q,M,*shift_alfavit,*file_shifr_code;
/* __int64*/
 //*
 long double  in1;
  int iFileHandle;
  int iFileLength;
  int iBytesRead;
   int  alf_length=0,k=0;
char mas[53]={'.','A','a','B','b','C','c','D','d','E','e','F','f','G','g','H','h','I','i','J','j','K','k','L','l','M','m','N','n','O','o','P','p','Q','q','R','r','S','s','T','t','U','u','V','v','W','w','X','x','Y','y','Z','z'};

//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -