git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
3000acc
Branches
Tags
master
ticket
webinterface.git
modules
email
include
common.php
Alles in das email-modul verschoben
bernd
commited
3000acc
at 2008-04-03 16:02:28
common.php
Blame
History
Raw
<?php function encrypt_mail_password($pw) { DEBUG("unencrypted PW: ".$pw); require_once('inc/base.php'); $salt = random_string(8); $encpw = crypt($pw, "\$1\${$salt}\$"); DEBUG("encrypted PW: ".$encpw); return chop($encpw); }