fixing input and output of encrypted votes and plaintexts