| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected int | l
Length of the secret |
| private final Polynomial | |
| protected SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | ShamirSecretSplitter(ShamirSecretSplitter.
|
| Modifier and Type | Method and Description |
|---|---|
| private byte[][] | |
| public ShamirSplitSecret | resplit(byte[] secret, int
A threshold number of shares m, int Total number of shares n)Implements org. Creates secret shares from a given secret. |
| public ShamirSplitSecret | split(int
A threshold number of shares m, int Total number of shares n)Implements org. Creates secret shares. |
| public ShamirSplitSecret | splitAround(SecretShare s, int
A threshold number of shares m, int Total number of shares n)Implements org. Creates secret shares from a given secret share. |
| l | back to summary |
|---|---|
| protected int l Length of the secret | |
| poly | back to summary |
|---|---|
| private final Polynomial poly | |
| random | back to summary |
|---|---|
| protected SecureRandom random | |
| ShamirSecretSplitter | back to summary |
|---|---|
| public ShamirSecretSplitter(ShamirSecretSplitter. | |
| initP | back to summary |
|---|---|
| private byte[][] initP(int m, int n) | |
| resplit | back to summary |
|---|---|
| public ShamirSplitSecret resplit(byte[] secret, int m, int n) Implements org. Doc from org. Creates secret shares from a given secret. The secret will be divided into shares, where the secret has a length of L bytes.
| |
| split | back to summary |
|---|---|
| public ShamirSplitSecret split(int m, int n) Implements org. Doc from org. Creates secret shares. The secret will be divided into shares, where the secret has a length of L bytes.
| |
| splitAround | back to summary |
|---|---|
| public ShamirSplitSecret splitAround(SecretShare s, int m, int n) throws IOException Implements org. Doc from org. Creates secret shares from a given secret share. The secret will be divided into shares, where the secret has a length of L bytes.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ShamirSecretSplitter. | |
| public static final ShamirSecretSplitter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ShamirSecretSplitter. | |
| public static ShamirSecretSplitter. |
| AES | back to summary |
|---|---|
| public static final ShamirSecretSplitter. | |
| RSA | back to summary |
|---|---|
| public static final ShamirSecretSplitter. | |
| Algorithm | back to summary |
|---|---|
| private Algorithm() | |
| valueOf | back to summary |
|---|---|
| public static ShamirSecretSplitter. | |
| values | back to summary |
|---|---|
| public static ShamirSecretSplitter. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ShamirSecretSplitter. | |
| public static final ShamirSecretSplitter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ShamirSecretSplitter. | |
| public static ShamirSecretSplitter. |
| Native | back to summary |
|---|---|
| public static final ShamirSecretSplitter. | |
| Table | back to summary |
|---|---|
| public static final ShamirSecretSplitter. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static ShamirSecretSplitter. | |
| values | back to summary |
|---|---|
| public static ShamirSecretSplitter. | |