public interface SecretSplitter
| Modifier and Type | Method and Description |
|---|---|
SplitSecret |
resplit(byte[] secret,
int m,
int n)
Creates secret shares from a given secret.
|
SplitSecret |
split(int m,
int n)
Creates secret shares.
|
SplitSecret |
splitAround(SecretShare s,
int m,
int n)
Creates secret shares from a given secret share.
|
SplitSecret split(int m, int n)
m - A threshold number of sharesn - Total number of sharesbyte[][] representing the generated secret shares for m users with l bytes each.SplitSecret splitAround(SecretShare s, int m, int n) throws java.io.IOException
m - A threshold number of sharesn - Total number of sharesbyte[][] representing the generated secret shares for m users with l bytes each.java.io.IOExceptionSplitSecret resplit(byte[] secret, int m, int n)
m - A threshold number of sharesn - Total number of sharesbyte[][] representing the generated secret shares for m users with l bytes each.