You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
function PassCrypt($passwort) {
|
|
|
|
include "config.php";
|
|
|
|
|
|
|
|
switch ($crypt_system) {
|
|
|
|
case "crypt":
|
|
|
|
return "{crypt}" . crypt($passwort, "77");
|
|
|
|
case "md5":
|
|
|
|
return md5($passwort);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|