00001 /*********************************************************************** 00002 * 00003 * KRYPTOS - Educational software for teaching cryptography 00004 * For more information, see http://www.kryptosproject.org/ 00005 * Submissions may be sent to kryptos@gmu.edu (see web site for details) 00006 * 00007 * 00008 * Copyright (c) 2002-2006 George Mason University 00009 * 00010 * Permission is hereby granted, free of charge, to any person obtaining 00011 * a copy of this software and associated documentation files (the 00012 * "Software"), to deal in the Software without restriction, including 00013 * without limitation the rights to use, copy, modify, merge, publish, 00014 * distribute, sublicense, and/or sell copies of the Software, and to 00015 * permit persons to whom the Software is furnished to do so, subject 00016 * to the following conditions: 00017 * 00018 * The above copyright notice and this permission notice shall be 00019 * included in all copies or substantial portions of the Software. 00020 * 00021 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00022 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00023 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00024 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 00025 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 00026 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 00027 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00028 * 00029 ***********************************************************************/ 00030 #include "defines.h" 00031 00032 #if !defined(AFX_KRYPTOS_H__2248E71A_FCF7_4A61_92FA_10DC21C956CE__INCLUDED_) 00033 #define AFX_KRYPTOS_H__2248E71A_FCF7_4A61_92FA_10DC21C956CE__INCLUDED_ 00034 00035 #if _MSC_VER > 1000 00036 #pragma once 00037 #endif // _MSC_VER > 1000 00038 00039 #ifndef __AFXWIN_H__ 00040 #error include 'stdafx.h' before including this file for PCH 00041 #endif 00042 00043 #include "resource.h" // main symbols 00044 00045 00047 // CKryptosApp: 00048 // See Kryptos.cpp for the implementation of this class 00049 // 00050 const CString PK_CIPHER[] = {"RSA" , "UNKNOWN" }; 00051 const CString PK_MODE[] = {"ECB" , "CBC" }; 00052 const CString PK_HASH_ALG[] = {"HAVAL","MD2","MD4","MD5","PanamaHash","RIPEMD160","SHA-1","SHA-256","SHA-384","SHA-512","Tiger"}; 00053 const CString PK_MAC_ALG[] = {"MD5MAC", "XMACC", "HMAC", "CBC_MAC", "DMAC", "PanamaMAC" }; 00054 const CString PK_SIGN_VERIFY[] = {"DSA" , "RSA", "ECDSA"}; 00055 const CString PK_PADDING[] = {"OAEP", "PKCS1v15", "RAW"}; 00056 const CString PK_HASH[] = {"NO", "MD2", "MD5", "SHA-1" }; 00057 00058 class CKryptosApp : public CWinApp 00059 { 00060 public: 00061 CKryptosApp(); 00062 00063 00064 // Overrides 00065 // ClassWizard generated virtual function overrides 00066 //{{AFX_VIRTUAL(CKryptosApp) 00067 public: 00068 virtual BOOL InitInstance(); 00069 //}}AFX_VIRTUAL 00070 00071 // Implementation 00072 00073 //{{AFX_MSG(CKryptosApp) 00074 // NOTE - the ClassWizard will add and remove member functions here. 00075 // DO NOT EDIT what you see in these blocks of generated code ! 00076 //}}AFX_MSG 00077 DECLARE_MESSAGE_MAP() 00078 }; 00079 00080 00082 00083 //{{AFX_INSERT_LOCATION}} 00084 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00085 00086 #endif // !defined(AFX_KRYPTOS_H__2248E71A_FCF7_4A61_92FA_10DC21C956CE__INCLUDED_)