Encryption method for internal authentication, smart card, internal authentication method, and card reader

An internal authentication and encryption method technology, applied in the field of smart cards, can solve the problems of plaintext and ciphertext exposure, and achieve the effect of avoiding the risk of malicious decryption and leaking keys, preventing replay attacks, and increasing randomness

Active Publication Date: 2021-12-17
深圳市深圳通有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The main purpose of the present invention is to provide an encryption method for internal authentication, a smart card, an internal authentication method, and a card reader. key risk technical issues

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Encryption method for internal authentication, smart card, internal authentication method, and card reader
  • Encryption method for internal authentication, smart card, internal authentication method, and card reader
  • Encryption method for internal authentication, smart card, internal authentication method, and card reader

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] refer to figure 1 , figure 1 It is a structural schematic diagram of the smart card involved in the solution of the embodiment of the present invention.

[0041] Such as figure 1 As shown, the smart card may include: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication line 1002 , and a memory 1003 . Wherein, the communication bus 1002 is used to realize connection and communication between the smart card and the card reader. The memory 1003 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM). Optionally, the memory 1003 may also be a storage device independent of the foregoing processor 1001 . The memory 1003 as a storage medium may include an internally authenticated encrypt...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an encryption method for internal authentication, a smart card, an internal authentication method and a card reader. The method includes: obtaining a first random number of N bytes; randomly generating a second random number of N bytes; concatenating the first random number and the second random number to obtain a random number to be encrypted; according to the first symmetric key Encrypt the random number to be encrypted to obtain the encrypted ciphertext; intercept N bytes from the encrypted ciphertext according to the first interception strategy to obtain the target ciphertext; send the target ciphertext and the second random number to the card reader so that the card reader The device authenticates the target ciphertext according to the second random number. Through the above method, the two random numbers are concatenated to obtain the random number to be encrypted, the random number to be encrypted is encrypted, the encrypted ciphertext is intercepted, and the intercepted ciphertext is sent to the card reader. The ciphertext is not exposed outside the card, avoiding the risk of malicious decryption and leakage of the key.

Description

technical field [0001] The invention relates to the technical field of smart cards, in particular to an internal authentication encryption method, a smart card, an internal authentication method and a card reader. Background technique [0002] Smart IC cards (hereinafter referred to as "cards") are mainly used as payment tools and for identity verification. In order to effectively identify and prevent counterfeit cards or counterfeit terminals, the terminal and the card must be mutually confirmed through a key-based security algorithm when in use. The currently commonly used symmetric key-based confirmation process includes two steps: external authentication (External Authentication) and internal authentication (Internal Authentication). Wherein the internal authentication is used for the authenticity of the terminal authentication card, and the existing internal authentication method process is as follows: [0003] (1) The terminal generates a random number R1 with a fixe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/44G06F21/60G06F7/58G06K7/00
CPCG06F21/44G06F21/602G06F7/588G06K7/0013
Inventor 赵凯周世爽彭海丰甄永峰余浩
Owner 深圳市深圳通有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products