vrana Mon Apr 26 15:57:47 2004 EDT
Modified files: /phpdoc/en/reference/openssl/functions openssl-private-decrypt.xml openssl-private-encrypt.xml openssl-public-decrypt.xml openssl-public-encrypt.xml Log: Purpose, see also http://cvs.php.net/diff.php/phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml diff -u phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml:1.4 Mon Apr 26 14:02:37 2004 +++ phpdoc/en/reference/openssl/functions/openssl-private-decrypt.xml Mon Apr 26 15:57:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 --> <refentry id="function.openssl-private-decrypt"> <refnamediv> @@ -29,6 +29,14 @@ <para> &return.success; </para> + <para> + You can use this function e.g. to decrypt data which were supposed only to + you. + </para> + <para> + See also <function>openssl_public_encrypt</function> and + <function>openssl_public_decrypt</function>. + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml diff -u phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml:1.4 Mon Apr 26 14:02:37 2004 +++ phpdoc/en/reference/openssl/functions/openssl-private-encrypt.xml Mon Apr 26 15:57:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 --> <refentry id="function.openssl-private-encrypt"> <refnamediv> @@ -26,6 +26,14 @@ <para> &return.success; </para> + <para> + This function can be used e.g. to sign data (or its hash) to prove that it + is not written by someone else. + </para> + <para> + See also <function>openssl_public_decrypt</function> and + <function>openssl_public_encrypt</function>. + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml diff -u phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml:1.4 Mon Apr 26 14:02:37 2004 +++ phpdoc/en/reference/openssl/functions/openssl-public-decrypt.xml Mon Apr 26 15:57:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 --> <refentry id="function.openssl-public-decrypt"> <refnamediv> @@ -28,6 +28,14 @@ <para> &return.success; </para> + <para> + You can use this function e.g. to check if the message was written by the + owner of the private key. + </para> + <para> + See also <function>openssl_private_encrypt</function> and + <function>openssl_private_decrypt</function>. + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml diff -u phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml:1.4 Mon Apr 26 14:02:38 2004 +++ phpdoc/en/reference/openssl/functions/openssl-public-encrypt.xml Mon Apr 26 15:57:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 --> <refentry id="function.openssl-public-encrypt"> <refnamediv> @@ -28,6 +28,15 @@ <para> &return.success; </para> + <para> + This function can be used e.g. to encrypt message which can be then read + only by owner of the private key. It can be also used to store secure data + in database. + </para> + <para> + See also <function>openssl_private_decrypt</function> and + <function>openssl_private_encrypt</function>. + </para> </refsect1> </refentry>