code: public static byte[] encrypt(String key, String iv, byte[] data, String cipherTransformation)
              throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException,
              IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {
          return encrypt(key.getBytes(StandardCharsets.UTF_8),
                  iv != null ? iv.getBytes(StandardCharsets.UTF_8) : DEFAULT_IV_BYTES, data,
                  cipherTransformation);
      }
docs: Encrypt data using AES.
  
  @param key
  @param iv
  initial vector. If {@code null} or empty, {@link #DEFAULT_IV}
  will be used.
  @param data
  @param cipherTransformation
  cipher-transformation to use. If empty, {@link #DEFAULT_CIPHER_TRANSFORMATION}
  will be used.
  @return
  @throws NoSuchPaddingException
  @throws NoSuchAlgorithmException
  @throws InvalidKeyException
  @throws BadPaddingException
  @throws IllegalBlockSizeException
  @throws InvalidAlgorithmParameterException