token-core icon indicating copy to clipboard operation
token-core copied to clipboard

Android例子中调用的call_tcx_api传入的hex编码,我转换成string为什么会有乱码?

Open aihjq520 opened this issue 3 years ago • 0 comments

在Android例子中调用的call_tcx_api,传入的hex编码: 0a0f68645f73746f72655f63726561746512230a07696d746f6b656e12180a11496e7365637572652050613535773072641a03616161 转换成string是:

hd_store_create# imtoken Insecure Pa55w0rdaaa

程序没有问题,但是这个格式为什么是这样的?而且我自己写的转为hex编码格式函数程序会闪退,我要用什么方法才能转为例子的格式?希望得到一个回复。

编译环境:ubuntu18

aihjq520 avatar May 20 '21 03:05 aihjq520