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

📄 class_information_dispersal.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>Crypto++: InformationDispersal Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.2 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="namespaces.html"><span>Namespaces</span></a></li>    <li class="current"><a href="classes.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>InformationDispersal Class Reference</h1><!-- doxytag: class="InformationDispersal" --><!-- doxytag: inherits="CustomFlushPropagation&lt; Filter &gt;" --><code>#include &lt;<a class="el" href="ida_8h-source.html">ida.h</a>&gt;</code><p><p>Inheritance diagram for InformationDispersal:<p><center><img src="class_information_dispersal.png" usemap="#InformationDispersal_map" border="0" alt=""></center><map name="InformationDispersal_map"><area href="class_custom_flush_propagation.html" alt="CustomFlushPropagation< Filter >" shape="rect" coords="215,224,420,248"><area href="class_filter.html" alt="Filter" shape="rect" coords="215,168,420,192"><area href="class_buffered_transformation.html" alt="BufferedTransformation" shape="rect" coords="107,112,312,136"><area href="class_not_copyable.html" alt="NotCopyable" shape="rect" coords="322,112,527,136"><area href="class_algorithm.html" alt="Algorithm" shape="rect" coords="0,56,205,80"><area href="class_waitable.html" alt="Waitable" shape="rect" coords="215,56,420,80"><area href="class_clonable.html" alt="Clonable" shape="rect" coords="0,0,205,24"></map><a href="class_information_dispersal-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>a variant of Rabin's Information Dispersal <a class="el" href="class_algorithm.html" title="interface for all crypto algorithms">Algorithm</a> <p><p>Definition at line <a class="el" href="ida_8h-source.html#l00095">95</a> of file <a class="el" href="ida_8h-source.html">ida.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40e812ee9251c018efe7bff39e812efe"></a><!-- doxytag: member="InformationDispersal::InformationDispersal" ref="40e812ee9251c018efe7bff39e812efe" args="(int threshold, int nShares, BufferedTransformation *attachment=NULL, bool addPadding=true)" -->&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_information_dispersal.html#40e812ee9251c018efe7bff39e812efe">InformationDispersal</a> (int threshold, int nShares, <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *attachment=NULL, bool addPadding=true)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3901bdfb5959c2ee901bd3a5fe1c161a"></a><!-- doxytag: member="InformationDispersal::IsolatedInitialize" ref="3901bdfb5959c2ee901bd3a5fe1c161a" args="(const NameValuePairs &amp;parameters=g_nullNameValuePairs)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsolatedInitialize</b> (const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters=<a class="el" href="cryptlib_8h.html#d3205973dd1afa14090a683154c1109c">g_nullNameValuePairs</a>)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_information_dispersal.html#0dd51a1bdc83cea84cd72218730f4744">Put2</a> (const byte *begin, size_t length, int messageEnd, bool blocking)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">input multiple bytes for blocking or non-blocking processing  <a href="#0dd51a1bdc83cea84cd72218730f4744"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_information_dispersal.html#a348e2dd4609c563196f89e1cf2ad35c">Flush</a> (bool hardFlush, int propagation=-1, bool blocking=true)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">flush buffered input and/or output  <a href="#a348e2dd4609c563196f89e1cf2ad35c"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#6e7251247b5c2cc3b0c15e861cc88e16">Attachable</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns whether this object allows attachment  <a href="#6e7251247b5c2cc3b0c15e861cc88e16"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8fc888888b2dad88bf64fc703044a93"></a><!-- doxytag: member="InformationDispersal::AttachedTransformation" ref="c8fc888888b2dad88bf64fc703044a93" args="()" --><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#c8fc888888b2dad88bf64fc703044a93">AttachedTransformation</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the object immediately attached to this object or NULL for no attachment <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="049148324c63bda47ac676f64e113b26"></a><!-- doxytag: member="InformationDispersal::AttachedTransformation" ref="049148324c63bda47ac676f64e113b26" args="() const" -->const <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#049148324c63bda47ac676f64e113b26">AttachedTransformation</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93817876b45172108fe0342de6442f75"></a><!-- doxytag: member="InformationDispersal::Detach" ref="93817876b45172108fe0342de6442f75" args="(BufferedTransformation *newAttachment=NULL)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#93817876b45172108fe0342de6442f75">Detach</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> *newAttachment=NULL)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">delete the current attachment chain and replace it with newAttachment <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="76cad0cf6ab20c2813f5e6d5ceb61d84"></a><!-- doxytag: member="InformationDispersal::TransferTo2" ref="76cad0cf6ab20c2813f5e6d5ceb61d84" args="(BufferedTransformation &amp;target, lword &amp;transferBytes, const std::string &amp;channel=NULL_CHANNEL, bool blocking=true)" -->size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#76cad0cf6ab20c2813f5e6d5ceb61d84">TransferTo2</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;target, lword &amp;transferBytes, const std::string &amp;channel=<a class="el" href="class_buffered_transformation.html#5e938c68f2a5e32a03440b1dc2bdc74a">NULL_CHANNEL</a>, bool blocking=true)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">upon return, byteCount contains number of bytes that have finished being transfered, and returns the number of bytes left in the current transfer block <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5ad8feab6f315b94e94f38a7866e4e6"></a><!-- doxytag: member="InformationDispersal::CopyRangeTo2" ref="d5ad8feab6f315b94e94f38a7866e4e6" args="(BufferedTransformation &amp;target, lword &amp;begin, lword end=LWORD_MAX, const std::string &amp;channel=NULL_CHANNEL, bool blocking=true) const " -->size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#d5ad8feab6f315b94e94f38a7866e4e6">CopyRangeTo2</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;target, lword &amp;begin, lword end=LWORD_MAX, const std::string &amp;channel=<a class="el" href="class_buffered_transformation.html#5e938c68f2a5e32a03440b1dc2bdc74a">NULL_CHANNEL</a>, bool blocking=true) const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">upon return, begin contains the start position of data yet to be finished copying, and returns the number of bytes left in the current transfer block <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c011bdc71755b373292e7a722e9e332"></a><!-- doxytag: member="InformationDispersal::Initialize" ref="0c011bdc71755b373292e7a722e9e332" args="(const NameValuePairs &amp;parameters=g_nullNameValuePairs, int propagation=-1)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#0c011bdc71755b373292e7a722e9e332">Initialize</a> (const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters=<a class="el" href="cryptlib_8h.html#d3205973dd1afa14090a683154c1109c">g_nullNameValuePairs</a>, int propagation=-1)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">initialize or reinitialize this object <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_filter.html#a42c62587dda61266ac8195d9c9edb47">MessageSeriesEnd</a> (int propagation=-1, bool blocking=true)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">mark end of a series of messages  <a href="#a42c62587dda61266ac8195d9c9edb47"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_buffered_transformation.html#25686ebe4c3ba26e7eeaae1dcd4d4215">Ref</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return a reference to this object  <a href="#25686ebe4c3ba26e7eeaae1dcd4d4215"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f31510a192d1121856efe8ad0a9b844"></a><!-- doxytag: member="InformationDispersal::AlgorithmName" ref="4f31510a192d1121856efe8ad0a9b844" args="() const" -->virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_algorithm.html#4f31510a192d1121856efe8ad0a9b844">AlgorithmName</a> () const</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns name of this algorithm, not universally implemented yet <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0016ba2d505c23aa85aad49e6c19bb7"></a><!-- doxytag: member="InformationDispersal::Clone" ref="d0016ba2d505c23aa85aad49e6c19bb7" args="() const" -->virtual <a class="el" href="class_clonable.html">Clonable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clonable.html#d0016ba2d505c23aa85aad49e6c19bb7">Clone</a> () const</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">this is not implemented by most classes yet <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_waitable.html#ded81bbe562f61932306a64e6122a6ca">Wait</a> (unsigned long milliseconds, <a class="el" href="class_call_stack.html">CallStack</a> const &amp;callStack)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">wait on this object  <a href="#ded81bbe562f61932306a64e6122a6ca"></a><br></td></tr><tr><td colspan="2"><div class="groupHeader">INPUT</div></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e70658b0d271f8e114ac6c3cc9774ede"></a><!-- doxytag: member="InformationDispersal::Put" ref="e70658b0d271f8e114ac6c3cc9774ede" args="(byte inByte, bool blocking=true)" -->size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_buffered_transformation.html#e70658b0d271f8e114ac6c3cc9774ede">Put</a> (byte inByte, bool blocking=true)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">input a byte for processing <br></td></tr>

⌨️ 快捷键说明

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