code: private static byte[] aes(final byte[] input, final byte[] key, final int mode)
  		throws GeneralSecurityException {
  		try {
  			SecretKey secretKey = new SecretKeySpec(key, AES_NAME);
  			Cipher cipher = Cipher.getInstance(AES_NAME);
  			cipher.init(mode, secretKey);
  			return cipher.doFinal(input);
  		} catch (NoSuchAlgorithmException e) {
  			throw new ImpossibleException(e);
  		} catch (NoSuchPaddingException e) {
  			throw new ImpossibleException(e);
  		}
  	}
docs: 使用 AES 加密或解密无编码的原始字节数组，返回无编码的字节数组结果。
  
  @param input
  原始字节数组
  @param key
  符合 AES 要求的密钥
  @param mode
  Cipher.ENCRYPT_MODE 或 Cipher.DECRYPT_MODE
  @return 密文或明文
  @throws GeneralSecurityException
  加密或解密出现错误