C# Class Goedel.Cryptography.KeyShare

A member of a key share collection.
Inheritance: Secret
Show file Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Methods

Method Description
KeyShare ( byte Key ) : System

Construct a key share with the specified secret value.

KeyShare ( int Bits ) : System

Construct a key share with the specified number of random bits.

KeyShare ( int Index, System.Numerics.BigInteger Value ) : System

Construct a key share with the specified secret value and index.

KeyShare ( int Index, byte Bytes ) : System

Construct a key share with the specified secret value and index.

Method Details

KeyShare() public method

Construct a key share with the specified secret value.
public KeyShare ( byte Key ) : System
Key byte The secret value.
return System

KeyShare() public method

Construct a key share with the specified number of random bits.
public KeyShare ( int Bits ) : System
Bits int Size of key share to create (in bits).
return System

KeyShare() public method

Construct a key share with the specified secret value and index.
public KeyShare ( int Index, System.Numerics.BigInteger Value ) : System
Index int The key share index and threshold.
Value System.Numerics.BigInteger The key share value/
return System

KeyShare() public method

Construct a key share with the specified secret value and index.
public KeyShare ( int Index, byte Bytes ) : System
Index int The key share index and threshold.
Bytes byte The key share value/
return System