engelsystem/includes/crypt.php

13 lines
229 B
PHP
Raw Normal View History

<?php
2011-06-01 12:13:39 +02:00
function PassCrypt($passwort) {
include "config.php";
switch ($crypt_system) {
case "crypt":
return "{crypt}" . crypt($passwort, "77");
case "md5":
return md5($passwort);
}
}
?>