Token generation and verification method and device

The invention discloses a token generation method and device and a token verification method and device, in the token generation process, data information is compressed and encrypted, the safety of information transmitted in a token can be improved, leakage is avoided, meanwhile, the content stored...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GUO HANLONG, CHEN JIASHUO, ZHANG YOUWEN, LIN HAI, PAN LUPING, JIANG QI, ZHU WUWEI, ZHU ZHONGWEI, PAN KAICHEN, MA JIAMING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a token generation method and device and a token verification method and device, in the token generation process, data information is compressed and encrypted, the safety of information transmitted in a token can be improved, leakage is avoided, meanwhile, the content stored at the rear end can be minimized, and resource occupation is reduced. Moreover, the identifier of the client and the key are correspondingly arranged, and a uniform key is not adopted in the prior art, so that the verification of multi-key signing and issuing can be realized, and better safety performance is provided; besides, when the token is verified, the token is compressed and encrypted, so that the security of information can be improved while user verification is realized. 本发明公开了一种令牌的生成方法、校验方法及装置,在生成令牌中,通过对数据信息进行压缩、加密处理,可以提高令牌中传递的信息的安全性,避免发生泄露,同时还可以实现最小化后端存储的内容,减少资源的占用;并且,由于客户端的标识与密钥对应设置,而并不是像现有技术中那样采用统一的密钥,从而可以实现多密钥签发的校验,提供更好的安全性能;此外,在对令牌进行校验时,由于令牌经过了压缩、加密处理,所以在实现用户校验的同时,还可以提高信息的安全性。