The present invention provides a method for encrypting mobile phone programs through mobile chip mobile phone TF card comprises the following steps: the random number generated by the Ra cloud terminal, APP forwarded to TF card encryption chip; mobile chip generates a random number Rb, Ra and Rb in the internal allochthonous random initial vectors, and then uses the random initial vector and preset KEY the terminal hardware encryption card, encoding encrypted with Rb, with the return to the cloud, at the same time, the terminal hardware encoding storage to the TF card, the next upgrade certification, first determine whether the incoming APP encoding and storage is consistent, if not consistent, and that the TF card terminal does not support, for the judgment of the illegal operation of cloud operation; and the second step the TF card operation, but will be the last encryption operation to decrypt, and then restore the plaintext hardware encoding to judge the first plaintext hardware encoding If there is a reasonable authorization number, the identity authentication is passed; if the error is wrong, the authentication fails and the error handling is carried out. The invention has virtually no possibility of breaking, and regularly changes rules in the cloud.
【技术实现步骤摘要】
一种通过手机TF卡的移动芯片加密手机程序的方法
本专利技术涉及手机程序安全
,尤其涉及一种通过手机TF卡的移动芯片加密手机程序的方法。
技术介绍
随着技术的发展,手机APP程序复制和破解比较容易实现,如果在手机植入芯片,成本太高,而且生产不方便,即使解决了手机编码绑定的问题,但是手机写码是可以修改的,从而导致程序被盗用,直接关系到程序的安全,为了解决APP程序破解,达到APP程序不被模仿,复制。专利技术一种通过手机TF卡加密手机程序(APP)的方法是非常有必要的。
技术实现思路
本专利技术的目的在于提供一种通过手机TF卡的移动芯片加密手机程序的方法,以解决上述技术问题。本专利技术为解决上述技术问题,采用以下技术方案来实现:一种通过手机TF卡的移动芯片加密手机程序的方法,其特征在于,步骤为:(1)云端产生的随机数Ra,经终端APP转发给TF卡加密芯片;(2)移动芯片产生随机数Rb,在内部将Ra与Rb进行异地生成随机初始向量,然后利用随机初始向量和预置的KEY,对终端加密TF卡硬件编码,加密后连同Rb一起返回给云端,同时,将终端硬件编码存储到TF卡里面,下次升级认证时,先判断APP传入的编码是否与存储的一致,若不一致,证明TF卡与终端不配套,判断为非法操作;(3)云端所操作与第2步TF卡所做操作一致,只是将最后的加密操作改为解密操作,进而还原出明文硬件编码,先对明文硬件编码作出判断,若属于合理授权号段内,则身份认证通过;若错误则认证失败,进行出错处理。说明:1、云端生成的随机数Ra与终端中加密TF卡生成的Rb共同作为随机初始向量,参与到对硬件编码的加密中,从 ...
【技术保护点】
一种通过手机TF卡的移动芯片加密手机程序的方法,其特征在于,步骤为:(1)云端产生的随机数Ra,经终端APP转发给TF卡加密芯片;(2)移动芯片产生随机数Rb,在内部将 Ra 与 Rb 进行异地生成随机初始向量,然后利用随机初始向量和预置的KEY,对终端加密TF卡硬件编码,加密后连同 Rb一起返回给云端,同时,将终端硬件编码存储到TF卡里面,下次升级认证时,先判断APP传入的编码是否与存储的一致,若不一致,证明TF卡与终端不配套,判断为非法操作;(3)云端所操作与第2步TF卡所做操作一致,只是将最后的加密操作改为解密操作,进而还原出明文硬件编码,先对明文硬件编码作出判断,若属于合理授权号段内,则身份认证通过;若错误则认证失败,进行出错处理。
【技术特征摘要】
1.一种通过手机TF卡的移动芯片加密手机程序的方法,其特征在于,步骤为:(1)云端产生的随机数Ra,经终端APP转发给TF卡加密芯片;(2)移动芯片产生随机数Rb,在内部将Ra与Rb进行异地生成随机初始向量,然后利用随机初始向量和预置的KEY,对终端加密TF卡硬件编码,加密后连同Rb一起返回给云端,同时,将终端硬件编码...
【专利技术属性】
技术研发人员:虞焰兴,徐勇,
申请(专利权)人:安徽声讯信息技术有限公司,
类型:发明
国别省市:安徽,34
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。