I quote Bobby's question here since I encountered the same one...
Random Coin Flip using ElGamal and a Trusted Party
Consider the following protocol for two parties to flip a fair coin.
Trusted party $T$ publishes her public key $K_{pub}$
$A$ chooses a random bit $b_A$, encrypts it under $K_{pub}$, and announces the ciphertext $c_A$ to $B$ and $T$
$B$ does the same and announces a ciphertext $c_B$ (where $c_B \neq c_A$)
$T$ decrypts $c_A$ and $c_B$, and announces the results. Both parties $XOR$ the results to obtain the random value $b_A\oplus b_B$.
It was shown that ElGamal was not appropriate for the encryption scheme. RSA seems to fail to work also. Since $c_A=m^e \mod N$. Then if $m=1$, $c=1$. If $B$ receives $A$'s cipher he will know the exact value of $m$.
So what should the appropriate encryption scheme be?