php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #19803 php.net/mcrypt documentation should include addition information
Submitted: 2002-10-07 10:16 UTC Modified: 2002-10-07 12:15 UTC
From: scott at abcoa dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.2.3 OS: AIX 4.3.3
Private report: No CVE-ID: None
 [2002-10-07 10:16 UTC] scott at abcoa dot com
I had been stuck with hte problem for almost a week, it wasn't until someone's posting in the php newgroup that saved my hide from further struggle.  

What happen is that I followed the documentation at php.net/mcrypt and I had problem with algorithm.  I checked the PHP Info (by using phpinfo() function) and it said that mcrypt is supported but no ciphers. The documenation should mentioned that mcrypt software is needed along with libmcrypt software, so I would have the cipher be supported.  I'm new to libmcrypt and I got the impression that it have everything in it.  I'm not familiar with mcrypt as well.

Now that my understand had been enhanced, I figured the document will need to be updated or to include some information so in the future, it would benefit everyone better, including people who may be confused with libmcrypt and mcrypt.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-07 12:15 UTC] derick@php.net
This is not true. libmcrypt comes with all ciphers, you don't need the mcrypt software itself. From the libmcrypt source:

ls -l modules/algorithms-rw-rw-r--    1 derick   derick       7293 Apr 29 13:03 3-way.c
-rw-rw-r--    1 derick   derick          0 May 22  2000 3-way.h
-rw-rw-r--    1 derick   derick       5068 Jul  6 12:01 arcfour.c
-rw-rw-r--    1 derick   derick        108 Jan 23  2001 arcfour.h
-rw-rw-r--    1 derick   derick      20738 Jul  6 12:01 blowfish.c
-rw-rw-r--    1 derick   derick      20067 Apr 29 13:03 blowfish-compat.c
...
...


Derick

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 22:01:23 2021 UTC