Spaces:
Running
Running
Download application/libraries/Crypt180c1c.php from cappucaine/ERP: direct link, hf CLI and curl.
- Browser
- Download file 956 Bytes
-
https://huggingface.co/spaces/cappucaine/ERP/resolve/main/application/libraries/Crypt180c1c.php
- Command line
-
hf download hf://spaces/cappucaine/ERP/application/libraries/Crypt180c1c.php
-
curl -L -o Crypt180c1c.php https://huggingface.co/spaces/cappucaine/ERP/resolve/main/application/libraries/Crypt180c1c.php
956 Bytes
| class Crypt180c1c | |
| { | |
| function sys_decsrypt($srvURL, $appName, $app_notes, $TS_DESC) | |
| { | |
| $privatKey = "@msukm@_dianhsystem"; | |
| $collKey = "$srvURL$appName$privatKey"; | |
| $encKey = md5($collKey); | |
| if($encKey == $app_notes) $logY = 1; | |
| else $logY = 0; | |
| if($logY == 1) | |
| { | |
| if($TS_DESC == $encKey) return $loginYes = $encKey; | |
| else return $loginYes = $encKey; | |
| } | |
| else | |
| { | |
| return $loginYes = $encKey; | |
| } | |
| } | |
| function sys_decsryptxx($srvURL, $appName, $app_notes, $TS_DESC) | |
| { | |
| $privatKey = "@msukm@_dianhsystem"; | |
| $collKey = "$srvURL$appName$privatKey"; | |
| $encKey = md5($collKey); | |
| if($encKey == $app_notes) $logY = 1; | |
| else $logY = 0; | |
| if($logY == 1) | |
| { | |
| if($TS_DESC == $encKey) return $loginYes = 1; | |
| else return $loginYes = 0; | |
| } | |
| else | |
| { | |
| return $loginYes = 0; | |
| } | |
| } | |
| function sys_decsryptmail() | |
| { | |
| return $privatKey = "diannhermanto88@gmail.com"; | |
| } | |
| } | |