A kind of rsa modular exponentiation method and device

A computing method and computing device technology, applied in the field of data security, can solve problems such as large time overhead and affect the efficiency of RSA encryption processing, and achieve the effects of improving efficiency, avoiding power consumption analysis attacks, and avoiding modular inverse operations.

Active Publication Date: 2018-02-23
SHANGHAI FUDAN MICROELECTRONICS GROUP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the large time overhead of calculating r^(-1) mod N, it will affect the efficiency of RSA encryption processing

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
  • A kind of rsa modular exponentiation method and device
  • A kind of rsa modular exponentiation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to describe the technical content, structural features, objectives and effects of the present invention in detail, the specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways than those described here, so the present invention is not limited by the specific embodiments disclosed below.

[0014] figure 1 It is a flow chart of the RSA modular exponentiation method in the embodiment of the present invention. Such as figure 1 As shown, the method includes steps S101 to S105.

[0015] Step S101, acquire information m, modulus N, random number r, public key e and private key d.

[0016] In the embodiment of the present invention, the random number r is random and variable, that is to say, the random number r can ...

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 present invention provides a RSA modular exponentiation method and device, wherein the method includes: acquiring information m, modulus N, random number r, public key e and private key d; calculating the first value m0, the second A value m0 is the value after the product of re-1 and the information m is modulo N; calculate a second value m1, and the second value m1 is the product of the first value m0 and the random number r taken on N The value after the modulus; calculate the third value S1, and the third value S1 is the value after taking the modulus of (m1)d‑1 to N; obtain the RSA encryption result S corresponding to the information m, and the result S is the third value The product of S1 and the first value m0 is the result of modulo N. The method and device can realize randomization of the base number of RSA with relatively small overhead, thereby avoiding power analysis attacks.

Description

technical field [0001] The invention relates to the technical field of data security, in particular to an RSA modular exponentiation method and device. Background technique [0002] In the existing RSA public key encryption algorithm modular exponentiation operation, a randomized mask is added to the base m, so that the base number actually involved in the modular exponentiation operation changes from known to unknown, from fixed to variable, thereby avoiding power consumption Analyze attacks. [0003] For example, before a decryption or signature operation is performed, a random pair of numbers (V i , V d ), so that it satisfies V d =(V i -1 ) d mod N, the pseudo-base after randomizing and covering the base m as the plaintext is: m'=mV i mod N, then after the modular exponentiation operation is completed, the corresponding modular exponentiation result obtained by using m' as the base number, that is, performing S=S'V on the pseudo-result S' d modN to recover the re...

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 & AuthorityPatents(China)
IPC IPC(8): H04L9/30
Inventor王立辉张志敏郑业扬闫守礼魏长征郭丽敏
OwnerSHANGHAI FUDAN MICROELECTRONICS GROUP