private byte[][] encryptVote(long[] vote) {
		byte[][] result = new byte[vote.length][];
		if(voteIsValid(vote)) {
			for(int i = 0; i < vote.length; i++) {
				result[i] = Security.encryptExponentialElgamal(vote[i], Security.getElgamalPublicKey());
			}
			return result;
		} else {
			throw new InvalidVoteException("Multiple election option choices detected.");
		}
	}