class Shamir {

  @Nonnull
  public Set<Share> createShares(@Nonnull final BigInteger secret, @Nonnull final CreationScheme creationScheme) {
    return rxShamir
        .createShares(secret, creationScheme)
        .collectInto(new HashSet<Share>(), Set::add)
        .blockingGet();
  }

  public  Shamir(@Nonnull final SecureRandom random);

}