/** * Agree on a list of {@code size} coin-tossed elements, represented by StrictBitVectors. Each * consisting of bits reflecting the computational security used at initialization of this class * * @param size The amount of elements in the resultant list * @return The list of coin-tossed elements */ protected List<StrictBitVector> getChallenges(int size) { List<StrictBitVector> list = new ArrayList<>(size); for (int i = 0; i < size; i++) { StrictBitVector currentToss = ct.toss(comSecParam); list.add(currentToss); } return list; } }