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


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

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

}
													      


?>