Click here to Skip to main content
15,891,136 members
Articles / Desktop Programming / ATL

How to use Crypto API in your ASP projects.

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
28 Aug 20013 min read 270.9K   1.2K   53  
This article shows how to make one ATL COM component with crypt/decrypt functions and how to use it in ASP programs. It shows also how to register a component in MTS.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by MyCrypt.rc
//
#define IDD_MYCRYPT_DIALOG              102
#define IDR_MAINFRAME                   128
#define IDC_EDIT1                       1000
#define IDC_EDIT6                       1001
#define IDC_BUTTON1                     1002
#define IDC_EDIT3                       1003
#define IDC_BUTTON2                     1004
#define IDC_EDIT4                       1005
#define IDC_EDIT7                       1006
#define IDC_BUTTON3                     1007
#define IDC_BUTTON5                     1008
#define IDC_BUTTON4                     1009
#define IDC_BUTTON6                     1010
#define IDC_EDIT5                       1011
#define IDC_EDIT2                       1012
#define IDC_EDIT8                       1013
#define IDC_EDIT9                       1014
#define IDC_EDIT10                      1015

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1006
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Romania Romania
I make programming for over 4 years and extensive experience in C++, ASP, Pascal, MFC, COM+, ATL, TCP/IP, HTTP protocols, XML, XSL, SOAP and SQL.
For the last 2 years i working extensively at the background of financial sites (databases, n tier architecture).

I’m available for contracts and/or outsourcing (<Adrian Bacaianu>adrian_bacaianu@yahoo.com).

Comments and Discussions