openssl_seal

Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Seal (encrypt) data
<?php openssl_seal(    string $data,    string &$sealed_data,    array &$encrypted_keys,    array $public_key,    string $cipher_algo,    string &$iv = null): int|false