PHP - Fonction crypt
Syntaxe
string crypt ( string $str [, string $salt ] )
Définition et utilisation
Il est utilisé pour hacher la chaîne
Valeurs de retour
Il renvoie la chaîne de hachage
Paramètres
| Sr.Non | Paramètres et description |
|---|---|
| 1 | str La chaîne à hacher |
Exemple
Essayez l'exemple suivant
<?php
$input = 'information';
$hash = crypt($input);
?>
