Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_VSS::ShareSplitting< Combinatoric< NumT, ThreshT > > Class Template Reference

Specialization of ShareSplitting for combinatoric secret sharing. More...

#include <Combinatoric.h>

List of all members.

Public Types

typedef Combinatoric< NumT,
ThreshT > 
ShareType
 Export the type of sharing.


Static Public Methods

void split (const BIGNUM *secret, ShareSet< ShareType > &shareSet, const Range &range)
 Split a secret into a set of shares.


Static Public Attributes

const unsigned int NumShares = ShareType::NumShares
 Shorthand for the number of shares.


Detailed Description

template<unsigned int NumT, unsigned int ThreshT>
class CODEX_VSS::ShareSplitting< Combinatoric< NumT, ThreshT > >

Specialization of ShareSplitting for combinatoric secret sharing.

Definition at line 555 of file Combinatoric.h.


Member Function Documentation

template<unsigned int NumT, unsigned int ThreshT>
void CODEX_VSS::ShareSplitting< Combinatoric< NumT, ThreshT > >::split const BIGNUM *    secret,
ShareSet< ShareType > &    shareSet,
const Range   range
[inline, static]
 

Split a secret into a set of shares.

This is a static method because no actual instance of the class is needed. The type differentiation is solely to associate a splitting algorithm with a particular type of sharing.

Parameters:
secret  The secret to split.
shareSet  The set of shares resulting from the splitting.
range  The range from which the shares should be drawn.

Definition at line 573 of file Combinatoric.h.

References CODEX_VSS::Range::max(), and CODEX_VSS::Range::min().


The documentation for this class was generated from the following file:
Generated on Wed Jun 2 16:33:24 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18