public Request receiveMessageRequest() throws ClassNotFoundException, IOException, IllegalBlockSizeException, BadPaddingException, InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException{
		byte[]rec =this.receiveByteArray();
		this.initdecryptChipher();
		byte[]aes=this.decrypt.doFinal(rec);
		Request request = (Request)this.byteArraytoObject(aes);
		if(request instanceof LoginRequest){
			//((LoginRequest) request).setChallenge(this.decodeBase64(((LoginRequest) request).getChallenge()));
		}
		return request;
	}