class Shamir {

	public static EcPoint[] computeSharePublicKeys(final EcPoint[] feldmanValues, final int n) {

		final EcPoint[] sharePublicKeys = new EcPoint[n];
		for (int i = 0; i < n; i++) {
			sharePublicKeys[i] = computeSharePublicKey(feldmanValues, i+1);
		}

		return sharePublicKeys;
	}

}