|
@@ -76,8 +76,14 @@ class GmService
|
|
|
|
|
|
//初始化转换密钥信息
|
|
|
php_HextoAsc(self::string2hex(base64_decode(self::PRIVATE_KEY)), $k1);
|
|
|
+ dump($k1);
|
|
|
+ exit;
|
|
|
php_HextoAsc(self::string2hex(base64_decode(self::PUBLIC_KEY)), $k2);
|
|
|
+ dump($k2);
|
|
|
+ exit;
|
|
|
php_HextoAsc(self::string2hex(base64_decode(self::CGB_PUBLIC_KEY)), $gf_k);
|
|
|
+ dump($gf_k);
|
|
|
+ exit;
|
|
|
|
|
|
//拼接参数数组
|
|
|
$data = [
|