00001
00002
00003
00004
00005
00006
00007
#ifndef __WVCRYPTO_H
00008
#define __WVCRYPTO_H
00009
00010
#include "wvencoder.h"
00011
#include "wvfile.h"
00012
00013
00014
00015 class WvRandomStream :
public WvFile
00016 {
00017
public:
00018
WvRandomStream();
00019 };
00020
00021 class WvCryptoEncoder :
public WvEncoder
00022 {
00023
public:
00024
00025
00026
00027
00028
00029
00030 virtual void setkey(
const void *_key)
00031 {
00032
return;
00033 }
00034
00035 virtual void setkey(
const void *_key1,
const void *_key2,
00036
const void *_key3)
00037 {
00038
return;
00039 }
00040
00041
00042
00043
00044
00045
00046 virtual void setiv(
const void *iv)
00047 {
00048
return;
00049 }
00050
00051 };
00052
00053
00054
#endif // __WVCRYPTO_H