00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef CIPHERFIL_H
00022 #define CIPHERFIL_H
00023
00024 #include <swfilter.h>
00025 #include <swcipher.h>
00026
00027 #include <defs.h>
00028
00029 SWORD_NAMESPACE_START
00030
00031 class SWDLLEXPORT CipherFilter:public SWFilter {
00032 SWCipher *cipher;
00033 public:
00034 CipherFilter(const char *key);
00035 virtual ~CipherFilter();
00036 virtual char ProcessText(char *text, int maxlen, const SWKey *key, const SWModule * = 0);
00037 virtual SWCipher *getCipher();
00038 };
00039
00040 SWORD_NAMESPACE_END
00041 #endif