openssl_encrypt_with_tag

function openssl_encrypt_with_tag(
  string $data,
  string $method,
  string $password,
  int $options,
  string $iv,
  mixed &$tag_out,
  string $aad = '',
  int $tag_length = 16,
): mixed;

Parameters

  • string $data
  • string $method
  • string $password
  • int $options
  • string $iv
  • mixed &$tag_out
  • string $aad = ''
  • int $tag_length = 16

Returns

  • mixed