|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-01 11:44 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 22:00:02 2025 UTC |
The crypt function only crypt the first 8 chars of the string. I have tested it only with the Standard DES encryption with a 2-char salt. For example : crypt('mypasswd', 'Xz') crypt('mypasswdblah', 'Xz') will produce the same string This is not specified in the doc, and this is not the normal behaviour of the Linux crypt function... But unfortunately, if you correct this, some old crypted string will not match with the new (and correct) encryption. So, do you know this bug, and what are you planing ?