php7-mysql-data/Kapitel_9/Lektion_4/erzeuge_passwort.php
2016-08-21 00:15:10 +02:00

7 lines
118 B
PHP

<?php
$klartextPasswort = 'geheim';
$hash = crypt($klartextPasswort, base64_encode($klartextPasswort));
echo $hash;