PHP » PYTHON |
login |
register |
about
|
|
openssl_pkcs7_encrypt(PHP 4 >= 4.0.6, PHP 5) openssl_pkcs7_encrypt — Encrypt an S/MIME message Description
bool openssl_pkcs7_encrypt
( string $infile
, string $outfile
, mixed $recipcerts
, array $headers
[, int $flags= 0
[, int $cipherid= OPENSSL_CIPHER_RC2_40
]] )
openssl_pkcs7_encrypt() takes the contents of the file named infile and encrypts them using an RC2 40-bit cipher so that they can only be read by the intended recipients specified by recipcerts . Parameters
Return ValuesReturns TRUE on success or FALSE on failure. Changelog
Examples
Example #1 openssl_pkcs7_encrypt() example
<?php
|
more
Recently updated
more
Most requested
|