public static String decryptWithKey(String encryptedText, String key) {
		// Create key and cipher
		SecretKeySpec aesKey = new SecretKeySpec(key.getBytes(), "AES");
		Cipher cipher;
				
		try {
			 cipher = Cipher.getInstance("AES");
			 
			 // Decrypt
			 cipher.init(Cipher.DECRYPT_MODE, aesKey);
			 String decrypted = new String(cipher.doFinal(encryptedText.getBytes()));
			 
			 return decrypted;
		} catch(Exception e) {
			e.printStackTrace();
		}
		
		return "";
	}