Property | Type | Description | |
---|---|---|---|
Key | byte[] |
Method | Description | |
---|---|---|
Equals ( System obj ) : bool |
Test for equality
|
|
GetHashCode ( ) : int |
Hash code of the current class.
|
|
Secret ( |
Recreate a secret from the specified shares.
|
|
Secret ( byte Key ) : System |
Create a secret from the specified key value.
|
|
Secret ( int Bits ) : System |
Create a new random secret with the specified number of bits.
|
|
Secret ( string Shares ) : System |
Recreate a secret from shares specified as Base32 encoded strings.
|
|
Split ( ) : Goedel.Cryptography.KeyShare[] |
Create a set of 2 key shares with a quorum of 2.
|
|
Split ( int N ) : Goedel.Cryptography.KeyShare[] |
Create a set of N key shares with a quorum of N.
|
|
Split ( int N, int K ) : Goedel.Cryptography.KeyShare[] |
Create a set of N key shares with a quorum of K.
|
Method | Description | |
---|---|---|
Secret ( ) : System |
Constructor for use in inherited classes.
|
Method | Description | |
---|---|---|
ArrayXOR ( byte Base, byte Mix ) : void | ||
ArrayXOR1 ( byte Base, byte Mix ) : void | ||
Combine ( |
||
CombineN ( |
||
CombineNK ( |
||
GetBytes ( System.Numerics.BigInteger In ) : byte[] | ||
MakePositive ( byte Data ) : System.Numerics.BigInteger | ||
ModInverse ( System.Numerics.BigInteger k, System.Numerics.BigInteger m ) : System.Numerics.BigInteger | ||
PolyMod ( int x, System.Numerics.BigInteger PolyNomial, System.Numerics.BigInteger Modulus ) : System.Numerics.BigInteger |
public Equals ( System obj ) : bool | ||
obj | System | The secret to test against |
return | bool |
public Secret ( |
||
Shares | The shares to be recombined. | |
return | System |
public Secret ( string Shares ) : System | ||
Shares | string | The shares to be recombined. |
return | System |
public Split ( ) : Goedel.Cryptography.KeyShare[] | ||
return | Goedel.Cryptography.KeyShare[] |
public Split ( int N ) : Goedel.Cryptography.KeyShare[] | ||
N | int | |
return | Goedel.Cryptography.KeyShare[] |
public Split ( int N, int K ) : Goedel.Cryptography.KeyShare[] | ||
N | int | Number of key shares to create (max is 32). |
K | int | Quorum of key shares required to reconstruct the secret. |
return | Goedel.Cryptography.KeyShare[] |