?? secsplit.h
字號:
#ifndef CRYPTOPP_SECSPLIT_H
#define CRYPTOPP_SECSPLIT_H
#include "forkjoin.h"
NAMESPACE_BEGIN(CryptoPP)
class SplitFork : public Fork
{
public:
SplitFork(RandomNumberGenerator &inRng, int n)
: Fork(n), rng(inRng) {}
SplitFork(RandomNumberGenerator &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 &rng;
};
class SplitJoin : public Join
{
public:
SplitJoin(int n, BufferedTransformation *outQ = NULL)
: Join(n, outQ) {}
void NotifyInput(unsigned int interfaceId, unsigned int length);
};
NAMESPACE_END
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -