php7-mysql-data/Kapitel_9/Lektion_4/erzeuge_passwort.php

7 lines
118 B
PHP
Raw Permalink Normal View History

2016-08-16 21:20:53 +02:00
<?php
$klartextPasswort = 'geheim';
$hash = crypt($klartextPasswort, base64_encode($klartextPasswort));
echo $hash;