es_ftw.h
来自「含有多种公开密钥算法、多种块加密、多种数据流加密、多种HASH函数、多种Chec」· C头文件 代码 · 共 32 行
H
32 行
/************************************************** File Tree Walking EntropySource Header File ** (C) 1999-2002 The Botan Project **************************************************/#include <botan/base.h>#ifndef BOTAN_EXT_ENTROPY_SRC_FTW__#define BOTAN_EXT_ENTROPY_SRC_FTW__namespace Botan {class FTW_EntropySource : public EntropySource { public: u32bit fast_poll(byte[], u32bit); u32bit slow_poll(byte[], u32bit); FTW_EntropySource(const std::string& = "/proc"); private: void do_poll(u32bit); void gather_from_dir(const std::string&, u32bit); void gather_from_file(const std::string&); const std::string path; SecureBuffer<byte, 1024> buffer; u32bit position, files_read; };}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?