summaryrefslogtreecommitdiff
path: root/includes/crypt.php
blob: 388670645c198cb0e5ed35b4e4f7454518733de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php


function PassCrypt($passwort) {
include "./inc/config.php";

switch ($crypt_system) {
  case "crypt":
          return "{crypt}".crypt($passwort, "77");
  case "md5":
          return md5($passwort);
  }

}
													      


?>