note 117857 added to mcrypt.ciphers
| From: | dan at zaph dot com | Date: | Fri, 21 Aug 2015 12:26:02 +0000 |
| Subject: | note 117857 added to mcrypt.ciphers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203407@lists.php.net to get a copy of this message | ||
Interpretability:
mcrypt does not support PKCS#7 padding, it uses non-standard and insecure null padding. This means
that for interoperability with most other implementations PKCS#7 padding will have to be added prior
to encryption and/or removed after decryption. This is a major source of interoperability issues.
When interoperating with AES the mcrypt algorithm must be specified as MCRYPT_RIJNDAEL_128 since AES
only supports a block size of 128-bits. There is often confusion that this specifies the key size
which it does not.
----
Server IP: 72.52.91.14
Probable Submitter: 107.131.161.111
----
Manual Page -- http://php.net/manual/en/mcrypt.ciphers.php
Edit -- https://master.php.net/note/edit/117857
Del: integrated -- https://master.php.net/note/delete/117857/integrated
Del: useless -- https://master.php.net/note/delete/117857/useless
Del: bad code -- https://master.php.net/note/delete/117857/bad+code
Del: spam -- https://master.php.net/note/delete/117857/spam
Del: non-english -- https://master.php.net/note/delete/117857/non-english
Del: in docs -- https://master.php.net/note/delete/117857/in+docs
Del: other reasons-- https://master.php.net/note/delete/117857
Reject -- https://master.php.net/note/reject/117857
Search -- https://master.php.net/manage/user-notes.php