nxt.crypto

## Interface SecretSharing

- All Known Implementing Classes:
    SimpleShamirSecretSharing

      public interface SecretSharing

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.math.BigInteger` | `combine(SecretShare[] shares, java.math.BigInteger prime)`
    `SecretShare[]` | `split(java.math.BigInteger secret, int needed, int available, java.math.BigInteger prime, java.util.Random random)`

- - ### Method Detail

    - #### split

          SecretShare[] split(java.math.BigInteger secret,
                              int needed,
                              int available,
                              java.math.BigInteger prime,
                              java.util.Random random)

    - #### combine

          java.math.BigInteger combine(SecretShare[] shares,
                                       java.math.BigInteger prime)