Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File 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 Member Functions

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

Static Public Attributes

static 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 558 of file Combinatoric.h.


Member Function Documentation

template<unsigned int NumT, unsigned int ThreshT>
static 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 576 of file Combinatoric.h.

References CODEX_VSS::Combinatoric< NumT, ThreshT >::setShare().


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:53 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1