php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74134 openssl_encrypt/decrypt docs need improvement, like examples
Submitted: 2017-02-20 09:56 UTC Modified: 2017-02-20 10:05 UTC
Votes:3
Avg. Score:2.0 ± 0.8
Reproduced:0 of 0 (0.0%)
From: speller at yandex dot ru Assigned:
Status: Verified Package: OpenSSL related
PHP Version: 7.1.2 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 + 44 = ?
Subscribe to this entry?

 
 [2017-02-20 09:56 UTC] speller at yandex dot ru
Description:
------------
---
From manual page: http://www.php.net/function.openssl-decrypt
---

The mcrypt extension was deprected and openssl is suggested instead. But when I tried to follow recommendations I obtained the openssl_descrypt function still not fully documented. So how should I replace deprecated mcrypt_* functions if I have no documented alternative?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-20 10:05 UTC] requinix@php.net
-Summary: Mcrypt was deprected, but no adequate alternative provided +Summary: openssl_encrypt/decrypt docs need improvement, like examples -Status: Open +Status: Verified -Package: Documentation problem +Package: OpenSSL related
 [2017-02-20 10:05 UTC] requinix@php.net
Note that libsodium will be added in PHP 7.2 to replace mcrypt.
https://wiki.php.net/rfc/libsodium
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 21:01:29 2024 UTC