©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
The password hashing API provides an easy to use wrapper around crypt() to make it easy to create and manage passwords in a secure manner.
This extension is available since PHP 5.5.0 but there is also an » userland implementation for PHP >= 5.3.7.
[#1] no-spam-thanks at com dot Potteries [2014-12-01 17:10:57]
We have implemented this and just like to say its working well for us. Would recommend to others for added security due to the one-way encryption.
DB field: set to varchar(255) - this should help others.
Other general users report it to be 123 chars, but on on some of the PHP documentation is states:
"255 characters would be a good choice" - I second that.
PHP developers: GOOD job btw!