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

📄 secsplit.h

📁 300种加密解密算法
💻 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 + -