Crypto++
8.9
Free C++ class library of cryptographic schemes
|
Shamir's Secret Sharing Algorithm. More...
Public Member Functions | |
SecretRecovery (int threshold, BufferedTransformation *attachment=NULL, bool removePadding=true) | |
Construct a SecretRecovery. | |
void | IsolatedInitialize (const NameValuePairs ¶meters=g_nullNameValuePairs) |
![]() | |
RawIDA (BufferedTransformation *attachment=NULL) | |
unsigned int | GetThreshold () const |
void | AddOutputChannel (word32 channelId) |
void | ChannelData (word32 channelId, const byte *inString, size_t length, bool messageEnd) |
lword | InputBuffered (word32 channelId) const |
void | IsolatedInitialize (const NameValuePairs ¶meters=g_nullNameValuePairs) |
size_t | ChannelPut2 (const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking) |
Input multiple bytes for processing on a channel. More... | |
![]() | |
AutoSignaling (int propagation=-1) | |
Construct an AutoSignaling. More... | |
void | SetAutoSignalPropagation (int propagation) |
Set propagation of automatically generated and transferred signals. More... | |
int | GetAutoSignalPropagation () const |
Retrieve automatic signal propagation value. More... | |
![]() | |
bool | Flush (bool completeFlush, int propagation=-1, bool blocking=true) |
Flush buffered input and/or output, with signal propagation. More... | |
bool | IsolatedFlush (bool hardFlush, bool blocking) |
Flushes data buffered by this object, without signal propagation. More... | |
bool | ChannelFlush (const std::string &channel, bool hardFlush, int propagation=-1, bool blocking=true) |
Flush buffered input and/or output on a channel. More... | |
![]() | |
bool | MessageSeriesEnd (int propagation=-1, bool blocking=true) |
Marks the end of a series of messages, with signal propagation. More... | |
byte * | CreatePutSpace (size_t &size) |
Request space which can be written into by the caller. More... | |
size_t | Put2 (const byte *inString, size_t length, int messageEnd, bool blocking) |
Input multiple bytes for processing. More... | |
size_t | PutModifiable2 (byte *inString, size_t length, int messageEnd, bool blocking) |
Input multiple bytes that may be modified by callee. More... | |
byte * | ChannelCreatePutSpace (const std::string &channel, size_t &size) |
Request space which can be written into by the caller. More... | |
bool | ChannelPutModifiable (const std::string &channel, byte *inString, size_t length) |
Input multiple bytes that may be modified by callee on a channel. More... | |
size_t | ChannelPutModifiable2 (const std::string &channel, byte *begin, size_t length, int messageEnd, bool blocking) |
Input multiple bytes that may be modified by callee on a channel. More... | |
![]() |
Shamir's Secret Sharing Algorithm.
SecretSharing is a variant of Shamir's secret sharing algorithm