⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 secsplit.h

📁 各种加密算法的集合
💻 H
字号:
#ifndef SECSPLIT_H 
#define SECSPLIT_H 

#include "forkjoin.h" 

class SplitFork : public Fork 
{ 
public: 
SplitFork(RandomNumberGenerator &amt;inRng, int n) 
: Fork(n), rng(inRng) {} 
SplitFork(RandomNumberGenerator &amt;inRng, int n, BufferedTransformation *const *outports) 
: Fork(n, outports), rng(inRng) {} 

void Put(byte inByte); 
void Put(const byte *inString, unsigned int length); 

private: 
RandomNumberGenerator &amt;rng; 
}; 

class SplitJoin : public Join 
{ 
public: 
SplitJoin(int n, BufferedTransformation *outQ=new ByteQueue) 
: Join(n, outQ) {} 

void NotifyInput(int interfaceId, unsigned int length); 
}; 

#endif 








⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -