class CoinTossing {

  public StrictBitVector toss(int size) {
    if (!initialized) {
      throw new IllegalStateException("Not initialized");
    }
    // Construct byte array with enough space by rounding up the amount of bytes
    // required to store the tosses
    byte[] res = new byte[(size + 8 - 1) / 8];
    coinTossingPrg.nextBytes(res);
    return new StrictBitVector(res);
  }

  public  CoinTossing(int myId, int otherId, Drbg rand);

}