From de6dd71a28e6323f1873900e299dd3374059b80e Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 31 Aug 2015 23:58:07 +0000 Subject: [PATCH] documented parameters of openssl_seal() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337684 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/openssl/functions/openssl-seal.xml | 38 ++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/reference/openssl/functions/openssl-seal.xml b/reference/openssl/functions/openssl-seal.xml index 7119c2f2e7..ff3d278ed0 100644 --- a/reference/openssl/functions/openssl-seal.xml +++ b/reference/openssl/functions/openssl-seal.xml @@ -14,11 +14,11 @@ stringsealed_data arrayenv_keys arraypub_key_ids - stringmethod + stringmethod"RC4" openssl_seal seals (encrypts) - data by using RC4 with a randomly generated + 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 @@ -37,6 +37,7 @@ data + The data to seal. @@ -44,6 +45,7 @@ sealed_data + The sealed data. @@ -51,6 +53,7 @@ env_keys + Array of encrypted keys. @@ -58,6 +61,15 @@ pub_key_ids + Array of public key resource identifiers. + + + + + method + + + The cipher method. @@ -110,6 +122,28 @@ openssl_free_key($pk2); + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 5.3.0 + + The method parameter was added. + + + + + + + &reftitle.seealso;