(PHP 4 >= 4.0.4, PHP 5, PHP 7)
Seal (encrypt) data
int openssl_seal ( string $data, string &$sealed_data, array &$env_keys, array $pub_key_ids [, string $method = "RC4" ] )
openssl_seal() seals (encrypts) data by using the given method with a randomly generated secret key. The key is encrypted with each of the public keys associated with the identifiers in pub_key_ids and each encrypted key is returned in env_key