hrjy 2 vuotta sitten
vanhempi
commit
8fe5075eaa
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      crmeb/services/GmService.php

+ 3 - 3
crmeb/services/GmService.php

@@ -73,10 +73,10 @@ class GmService
 
 //        echo self::string2hex(base64_decode(self::PUBLIC_KEY));
 
-
+        halt(self::string2hex(base64_decode(self::PRIVATE_KEY)));
         //初始化转换密钥信息
-//        php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
-//        halt(compact('k1'));
+        php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
+        halt(compact('k1'));
 //        php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
 //        halt(compact('k1', 'k2'));
 //        php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);