php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64732 crypt documentation incomplete/confusing
Submitted: 2013-04-29 08:24 UTC Modified: -
From: petern at greenmail dot net Assigned:
Status: Open Package: *Encryption and hash functions
PHP Version: Irrelevant 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:
25 + 46 = ?
Subscribe to this entry?

 
 [2013-04-29 08:24 UTC] petern at greenmail dot net
Description:
------------
---
From manual page: http://www.php.net/function.crypt#refsect1-function.crypt-description
---
In the Description for the various hash types, there is NO mention of the salt having to end in "$".  But in the Examples (eg BlowFish), the salt ends in "$".

Wht exactly is going on here?  Is the ending "$"; required, not required, or optional?  Does it's presence or absence affect the result in any way?


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 10:01:31 2024 UTC