note 110047 added to function.openssl-encrypt
| From: | kasper at webmasteren dot eu | Date: | Fri, 14 Sep 2012 11:36:14 +0000 |
| Subject: | note 110047 added to function.openssl-encrypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190762@lists.php.net to get a copy of this message | ||
For security reasons, if NOT encrypting using a (cryptographically) random IV, then the IV itself
must be entryptet as well ( this is not handled behind the scene).
the reason is that it leads to predictable IV's, which then breaks semantic security. [this
kind of attack can already be done on ssl/ TLS 1.1].
----
Server IP: 69.147.83.197
Probable Submitter: 84.238.54.123
----
Manual Page -- http://www.php.net/manual/en/function.openssl-encrypt.php
Edit -- https://master.php.net/note/edit/110047
Del: integrated -- https://master.php.net/note/delete/110047/integrated
Del: useless -- https://master.php.net/note/delete/110047/useless
Del: bad code -- https://master.php.net/note/delete/110047/bad+code
Del: spam -- https://master.php.net/note/delete/110047/spam
Del: non-english -- https://master.php.net/note/delete/110047/non-english
Del: in docs -- https://master.php.net/note/delete/110047/in+docs
Del: other reasons-- https://master.php.net/note/delete/110047
Reject -- https://master.php.net/note/reject/110047
Search -- https://master.php.net/manage/user-notes.php