This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
engelsystem/includes/crypt.php

19 lines
236 B
PHP

<?php
function PassCrypt($passwort) {
include "./config.php";
switch ($crypt_system) {
case "crypt":
return "{crypt}".crypt($passwort, "77");
case "md5":
return md5($passwort);
}
}
?>