public static String decrypt(String text, String pathToKeys) {
		String decryptedTxt = text;
		
		try {
			//get the public key
			PublicKey userPubKey = RSATools.loadRSAPublicKey(pathToKeys);
			
			//decrypt the tweet 
			decryptedTxt = RSATools.bytesToHex(RSATools.decrypt(text.getBytes(), userPubKey));
			
		} catch (NoSuchAlgorithmException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvalidKeySpecException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (GeneralSecurityException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return decryptedTxt;
	}