openssl_encrypt

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Encrypts data
<?php openssl_encrypt(    string $data,    string $cipher_algo,    string $passphrase,    int $options = 0,    string $iv = "",    string &$tag = null,    string $aad = "",    int $tag_length = 16): string|false