/dialup_admin/lib/crypt/crypt.php3
PHP | 12 lines | 12 code | 0 blank | 0 comment | 2 complexity | 0fe544a39e13e545de1e188e5d07b249 MD5 | raw file
Possible License(s): GPL-2.0, Unlicense, LGPL-2.1
- <?php
- function da_encrypt()
- {
- $numargs=func_num_args();
- $passwd=func_get_arg(0);
- if ($numargs == 2){
- $salt=func_get_arg(1);
- return crypt($passwd,$salt);
- }
- return crypt($passwd);
- }
- ?>