Click here to Skip to main content
15,886,799 members
Articles / Desktop Programming / MFC

TEA Encryption/Decryption Made Simple

Rate me:
Please Sign up or sign in to vote.
4.60/5 (10 votes)
20 Dec 2008CPOL5 min read 106.3K   5.4K   50  
Easy to use crypto class that uses TEA, XTEA and XXTEA standards
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by TestDlg.rc
//
#define IDD_TESTDLG_DIALOG              102
#define IDR_MAINFRAME                   128
#define IDC_BUTTON1                     1000
#define IDC_BUTTON2                     1001
#define IDC_BUTTON3                     1002
#define IDC_RADIO_TEA                   1003
#define IDC_RADIO_XTEA                  1004
#define IDC_RADIO_XXTEA                 1005
#define IDC_EDIT1                       1008
#define IDC_EDIT_STRLEN                 1008
#define IDC_BUTTON_TCHAR_FROM           1010
#define IDC_BUTTON_TCHAR_TO             1011
#define IDC_EDIT_TCHAR_FROM             1012
#define IDC_EDIT_TCHAR_TO               1014
#define IDC_BUTTON_INT_FROM             1018
#define IDC_BUTTON_INT_TO               1019
#define IDC_EDIT_INT_FROM               1020
#define IDC_EDIT_INT_TO                 1021
#define IDC_BUTTON_CSTRING_FROM         1024
#define IDC_BUTTON_CSTRING_TO           1025
#define IDC_EDIT_CSTRING_FROM           1026
#define IDC_EDIT_CSTRING_TO             1027
#define IDC_BUTTON4                     1028
#define IDC_EDIT_CHAR_FROM              1028
#define IDC_EDIT_CHAR_TO                1029
#define IDC_BUTTON_CHAR_FROM            1030
#define IDC_BUTTON_CHAR_TO              1031

// 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         1009
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Denmark Denmark
c/c++/c# -developer.

Comments and Discussions