Diferencia entre revisiones de «Usuario:Lmorillas/desarrollo web servidor/php/passwords»
De WikiEducator
(Página creada con '{{MiTitulo|Cifrado de contraseñas}} {{Objetivo| $hashed_password = password_hash("mipassword", PASSWORD_DEFAULT) boolean password_verify ( string $password , string $hash …') |
|||
| Línea 1: | Línea 1: | ||
{{MiTitulo|Cifrado de contraseñas}} | {{MiTitulo|Cifrado de contraseñas}} | ||
| − | {{Objetivo| | + | {{Objetivo|1= |
| + | PHP > 5.5 | ||
$hashed_password = password_hash("mipassword", PASSWORD_DEFAULT) | $hashed_password = password_hash("mipassword", PASSWORD_DEFAULT) | ||
boolean password_verify ( string $password , string $hash ) | boolean password_verify ( string $password , string $hash ) | ||
| − | + | Todos | |
$hashed_password = crypt('mypassword'); | $hashed_password = crypt('mypassword'); | ||
Revisión de 22:59 21 ene 2014
PHP > 5.5
$hashed_password = password_hash("mipassword", PASSWORD_DEFAULT)
boolean password_verify ( string $password , string $hash )
Todos $hashed_password = crypt('mypassword');
|
|
|
Adapta el sistema de login de https://github.com/panique/php-login-minimal para adaptarlo a tu agenda con PDO y sqlite
|