📄 md5enpasdlg.h
字号:
// Md5enpasDlg.h : header file
//
#if !defined(AFX_MD5ENPASDLG_H__19614A61_3750_4B86_AD53_61436658A2CF__INCLUDED_)
#define AFX_MD5ENPASDLG_H__19614A61_3750_4B86_AD53_61436658A2CF__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CMd5enpasDlg dialog
#define uint8 unsigned char
#define uint32 unsigned long int
typedef struct
{
uint32 total[2];
uint32 state[4];
uint8 buffer[64];
}
md5_context;
class CMd5enpasDlg : public CDialog
{
// Construction
public:
char nowpas[30];
CMd5enpasDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMd5enpasDlg)
enum { IDD = IDD_MD5ENPAS_DIALOG };
CString m_In;
CString m_o;
BOOL m_chk;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMd5enpasDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void md5_starts( md5_context *ctx );
void md5_update( md5_context *ctx, uint8 *input, uint32 length );
void md5_finish( md5_context *ctx, uint8 digest[16] );
void md5_process( md5_context *ctx, uint8 data[64] );
// Generated message map functions
//{{AFX_MSG(CMd5enpasDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void GetNextPaswrd(char *szSrc);
void md5process(char * szSrc, char * szDest);
void FindMd5Pas(char *szSrc,char *szDest,int con);
void GetNextPaswrd(char *szSrc,int minvalue,int maxvalue);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MD5ENPASDLG_H__19614A61_3750_4B86_AD53_61436658A2CF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -