public EncryptedDeck encryptEncDeck(EncryptedDeck encDeck)
			throws InvalidKeyException, IllegalBlockSizeException,
			BadPaddingException {
		
		if (e == null) {
			System.err
					.println("Cannot encrypt when using decrypting constructor RSAService(gp, gq, gd)");
			return null;
		}
		for (int i = 0; i < Deck.NUM_CARDS; i++) {
			EncryptedCard tmp = encDeck.data.get(i);
			encDeck.data.set(i, encryptEncCard(tmp));
		}
		return encDeck;
	}