note 112484 deleted from function.password-hash by nikic

From: Date: Mon, 26 Aug 2013 12:40:53 +0000
Subject: note 112484 deleted from function.password-hash by nikic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196082@lists.php.net to get a copy of this message
Note Submitter: Alan ---- Fyi, I ran into an issue when not providing the salt to crypt() which coincides with the documentation on the crypt() page: "If not provided, the behavior is defined by the algorithm implementation and can lead to unexpected results." Encrypting text on a windows platform could not be decrypted on a linux platform because the default algorithms were different. I had to specifically provide a salt to ensure the same algorithm was used on both platforms. I would imagine this would occur with password_hash() as well.

« previous php.notes (#196082) next »