home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winbase
/
security
/
crypto
/
cfiler
/
crp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-13
|
1KB
|
39 lines
// CRP.H
#ifndef CRYPTROUTINES_INCLUDED
#define CRYPTROUTINES_INCLUDED
WINAPI EnterPass (HWND, UINT, UINT, LPARAM);
BOOL GetPass (HWND);
LRESULT WINAPI CryptDlgProc (HWND, UINT, UINT, LPARAM);
LRESULT WINAPI EncryptDlgProc (HWND, UINT, UINT, LPARAM);
LRESULT WINAPI HashDlgProc (HWND, UINT, UINT, LPARAM);
BOOL Logon (HWND);
BOOL Logoff (HWND);
BOOL CFILEREncryptFile (HWND, LPTSTR);
BOOL CFILERDecryptFile (HWND, LPTSTR);
BOOL GetEncryptPublicKey (HWND, HCRYPTKEY *);
BOOL GetSignaturePublicKey (HWND, HCRYPTKEY *);
HCRYPTKEY GetfnKey (HWND);
BOOL SignFile (HWND, LPTSTR);
BOOL VerifyFile (HWND, LPTSTR);
BOOL MakeHashDirectory (VOID);
BOOL SHAtoRadix64 (LPBYTE, LPTSTR);
VOID Exit1 (HWND, LPTSTR, HANDLE, HANDLE);
VOID Exit2 (HWND, LPTSTR, HWND, HANDLE, HANDLE);
BOOL c2r64 (INT, LPTSTR);
BOOL EncryptDir (HWND, LPTSTR, LPCINFO lpCInfo);
BOOL DecryptDir (HWND, LPTSTR, LPCINFO lpCInfo);
BOOL GenRandomName (LPTSTR);
BOOL GenRandomName2 (LPTSTR);
BOOL HasSignature (LPTSTR, TABLE, BOOL *);
BOOL GetDecryptedFileName (HWND, LPTSTR, LPTSTR, HANDLE *);
BOOL GetDecryptedDirName (HWND, LPTSTR, LPTSTR, BOOL, HANDLE *);
BOOL HideSignatures (VOID);
BOOL ShowSignatures (VOID);
BOOL GetSigFileName (LPTSTR, LPTSTR);
BOOL DeleteHashDirectory (VOID);
BOOL GetSigDir (LPTSTR);
#endif