Loading menu…

Optimal Asymmetric Data Encryption Algorithm

§ National University of Uzbekistan, Uzbekistan

Send Message

To: Author

Optimal Asymmetric Data Encryption Algorithm

Article Fingerprint

ReserarchID

CSTITRTPL0

Optimal Asymmetric Data Encryption Algorithm Banner

Key Research Insights

Synthesized scholarly intelligence & interactive research assistant
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Reading Preferences
Font Size
Line Spacing
Background
This converted HTML version may contain rendering inconsistencies. Please refer to the PDF for the authoritative version, or click here to provide feedback.

Abstract

Today, public-key cryptosystems are particularly vulnerable to fetching cipher text and adaptively matched plaintext attacks. To prevent such attacks, in practice, optimal asymmetric algorithms are used, for example, RSA-OAEP and etc. In this article, using the method of encoding messages by points of an elliptic curve, an optimal asymmetric algorithm is proposed for data encryption which is based on elliptic curves.

I. INTRODUCTION

To date, the durability of modern asymmetric algorithms (data encryption and digital signature) is characterized by their properties to withstand all kinds of attacks and the laboriousness of the best known hacking algorithm [1-9].

The standards of asymmetric data encryption algorithms used in practice are based on the problems of factorizing a composite number and discrete logarithm in a finite group of large prime order.

The main problems in this class of cryptographic transformations are the low speed of such transformations, a significant increase in the size of the cryptogram compared to the size of the original message, and also the decreasing strength due to the development of mathematical methods and cryptanalysis tools.

In recent years, elliptic cryptography has been intensively developed, discovered independently by N. Koblitz and V. Miller in 1985, in which the role of a one-sided function is played by scalar multiplication of a point by a constant, implemented on the basis of operations of addition and doubling of points of elliptic curves (EC) in finite fields of various characteristics [14-15].

In [11], a status of the directional encryption was considered, possibilities of implementing directional encryption in groups of points on the EC were substantiated, in [12], a method of commutative encryption was proposed using computations on the EC, which ensures the exponential strength of the commutative encryption algorithm and its performance increase compared to other algorithms [13].

For cryptosystems (symmetric and asymmetric), there exist Chosen-plaintext attack (CPA), Chosen-cipher text attack (CCA), and adaptive chosen plaintext attack (CCA-2). The CPA and CCA attacks were originally intended for active cryptanalysis of secret key cryptosystems.

The purpose of this cryptanalysis is to break the cryptosystem using open and encrypted messages received during the attack [18−20]. They were then adapted for cryptanalysis of public key cryptosystems.

Analysis shows that public key cryptosystems are especially vulnerable to CCA and CCA-2 [17]. Therefore, to prevent such attacks, in practice, optimal asymmetric algorithms are used, for example RSA-OAEP [16] and etc.

The purpose of this work is to propose an optimal asymmetric data encryption algorithm for EC using the method of encoding messages with EC points.

In the EC encryption algorithm considered below, - bit data block of the message m is encoded by the EC point M, which is then transformed with a secret key. As a result, the cryptogram represents some point C.

The decryption procedure involves performing inverse transformations over point C, after which point M is restored and decryption is performed, leading to the receipt of message m.

II. MAINPART

Let a prime number be given p>3. Then an elliptic curve E defined over a finite prime field Fp is the set of pairs of numbers (x,y), x,y∈Fp, satisfying the identity

(1)y2≡x3+ax+b(modp),

where a,b∈Fp and 4a3+27b2 is not comparable to zero mod p.

An invariant of an elliptic curve is a magnitude J (E) that satisfies the identity

J(E)=17284a34a3+27b2(modp)

The coefficients a, b of the elliptic curve E, according to the known invariant J(E) are determined as follows

(3){a≡3k(modp)b≡2k(modp)
where,k=J(E)1728−J(E)(modp),J(E)≠0or1728.

Pairs (x,y) that satisfy identity (1) are called points of the elliptic curve E; x and y are the x- and y-coordinates of the point, respectively.

The points of the elliptic curve will be denoted by G(x,y) or G. Two points of an elliptic curve are equal if their corresponding x- and y-coordinates are equal.

On the set of all points of the elliptic curve E we introduce the addition operation, which we will denote by the "+" sign. For two arbitrary points G1(x1,y1) and G2(x2,y2) of the elliptic curve E, we consider several options.

Let the coordinates of the points G1(x1,y1) and G2(x2,y2) satisfy the condition x1≠x2. In this case, their sum will be called the point G3(x3,y3), the coordinates of which are determined by t he following formula

(4){x3≡λ2−x1−x2(modp),y3≡λ(x1−x3)−y1(modp),
λ≡y2−y1x2−x1(modp).

If the equalities holdx1=x2andy1=y2≠0, then we define the coordinates of the point G3, as follows

(5){x3≡λ2−2x1(modp),y3≡λ(x1−x3)−y1(modp),

Where,

λ≡3x12+a2y1(modp).

In the case when the condition x1=x2 and y1=−y2 (mod p) is satisfied sum of the points G1 and G2 will be called the zero point 0, without determining its x- and y-coordinates. In this case, the point G2 is called the negation of the point G1. For the zero point 0, the equalities hold.

(6)G′′+′′0=0′′+′′G=G,

Where G is an arbitrary point of the elliptic curve E.

On the set of all points of the elliptic curve E, we introduce the subtraction operation which we denote by the sign "-". By the properties of points on elliptic curves, for an arbitrary point G(x,y) of an elliptic curve, the following equality holds:

(7)−G(x,y)=G(x,−y),

In accordance with equality (7), for two arbitrary points G1(x1,y1) and G2(x2,y2) of the elliptic curve E, the subtraction operation is defined as follows:

G1(x1,y1)−G2(x2,y2)=G1(x1,y1)+G2(x2,−y2),

i.e. a subtraction operation can be converted to an addition operation.

With respect to the introduced operation of addition, the set of all points of the elliptic curve E, together with the zero point form a finite abelian (commutative) group of order w, for which the inequality [2] holds.

(9)p+1−2p≤w≤p+1+2p

A point T is called a point of multiplicity k, or simply a multiple point of an elliptic curve E, if for some point N the equality

(10)T=N′′+′′…′′+′′N⏟k=[k]N

III. ASYMMETRIC ENCRYPTION ALGORITHM PARAMETERS

The parameters of the asymmetric data encryption algorithm are:

  1. Prime number p is the modulus of an elliptic curve satisfying the inequality p>2255. The upper bound of this number should be determined with a specific implementation of the asymmetric algorithm;

  2. Elliptic curve E defined by its invariant J(E) or coefficientsa, b∈Fp;

3. Integer w is the order of group points of the elliptic curve E

  1. Prime number n is the order of the cyclic subgroup of group points of the elliptic curve E, for which the following conditions are satisfied:
{w=l∗n,l∈Z,l≥12254<n<2256
  1. point G≠0 of the elliptic curve E, with coordinates (x0,y0), satisfying the equality[n]G=0.

The above parameters of the asymmetric encryption algorithm are subject to the following requirements:

  1. The condition pi≠1(mod n) must be fulfilled, for all integers i = 1, 2..., B, where B satisfies the inequality B≥31;

  2. The inequality must be satisfied w≠p.

Each user of the asymmetric encryption algorithm must have private keys:

  1. The private key of the asymmetric algorithm d is an integer satisfying the inequality 0<d<n;

  2. The public key of the asymmetric algorithm Q is a point of an elliptic curve with coordinates (x,y) satisfying the equality [d]G=Q.

An asymmetric encryption algorithm based on elliptic curves includes the following processes: expressing a message with elliptic curve points, encrypting a message, decrypting a message, expressing elliptic curve points as a message.

To implement these processes, each user must know the parameters of the asymmetric encryption algorithm. Also, each user must have d private and Q (x, y) public keys of the encryption algorithm.

Below processes of expressing a message with elliptic curve points, encrypting, decrypting and expressing elliptic curve points as a message are given.

a) Algorithm for expressing a message by points of an elliptic curve [12]

Specified S - the message for the next sequence is represented by an elliptic curve point.

  1. Assign value of the counter i = 0, calculate the value p′=p∇⋅216 and compare p′ and S as μ -bit binary numbers (div-operation of taking quotient). If p′≤S, then go to step 6.

  2. If i<216, then form a 16-bit string r, the binary value of which is i. Otherwise, display the message "The point of the elliptic curve does not exist".

  3. Assign r || s to the variable x, where the sign "||" denotes a concatenation operation and calculate the valuew=(x3+ax+b)modp

λ=(wp).Ifλ=−1
  1. Calculate the Legendre symbol (p). If λ=−1, then increase the counter (i=i+1) and gotostep 2.

  2. Calculate two root values y1,2=±w(mod p) where y1,2∈{1,2,…,p−1}, assign the larger value of y1,2 to y and go to step 10.

  3. If i<215, then form a 15-bit string r, the binary value of which is equal toi. Otherwise, display the message

"No elliptic curve point exists".

  1. Assign the value S || r to the variable x and calculate the value w=(x3+ax+b)modp
λ=(wp).Ifλ=−1
  1. Calculate the Legendre symbol (p). If λ=−1, then increase the counter (i=i+1) and go to step6.

  2. Calculate two root values y1,2=±w(mod p) where y1,2∈{1,2,…,p−1}, assign the larger value of y1,2 toy.

  3. Output a pair of values (x,y) as coordinates of the point M (x,y) of the elliptic curve for the given message S.

b) An algorithm for expressing the points of an elliptic curve in the form of a message [12]

Let, M(x, y) be a point of an elliptic curve. Then the sequence of transition of a given point to S - the message goes as follows.

  1. Calculate the value w=(x3+ax+b)modp.

  2. Calculate two root values y1,2=±w(mod p), where y1,2∈{1,2,…,p−1}

  3. If y=y1 then, S=xdiv 215. Otherwise, calculate S=xdiv 216 and S− announced by the corresponding message of the point M(x,y).

c) Encryption process Given M message by conditions μ=π−k0−k1−16 divided into blocks M={m1,m2,...,mν}, length |mi|=μ bits, where k0,k1 – natural numbers, π - a character that determines the length of a given prime number p, each mi - blocks, separately encrypted according to the sequence below.

  1. Generate a random integer k satisfying the inequality 0<k<n, calculate C1=[k]G and R=[k]Qelliptic curve points.

  2. Randomly generate I - message of length k1 bits.

  3. Calculate S1=(mi∥0k0)⊕Hesh1(l), where Hesh1 - hash function [10] of length μ+k0 bits.

  4. Calculate S2=l⊕Hesh2(S1), where Hesh2 - hash function [10] of length k1 bits.

5. Perform the operation S=S1∥S2
  1. It is checked whether the message S is an elliptic curve point. If the message is not an elliptic curve point,

  2. Using the x - coordinate of the point M (x, y), calculate the value w=(x3+ax+b)modp

  3. Calculate y1,2=±w(mod p)

  4. If y=min(y1,y2) then, go to step 12.

  5. Assign3 to the variable q and calculate C2(x,y)=M(x,y)+R(x,y), t=xC2∥q, and go to step 12 (where |q|=2 bits).

  6. Assign 1 to the variable q and calculate C2(x,y)=M(x,y)+R(x,y),t=xC2∥q, and go to step 13.

  7. Assign 0 to the variable q and calculate C2(x,y)=M(x,y)+R(x,y),t=xC2∥q.

  8. Ei={C1(x,y),t} –declare as blocks of ciphertext.

d) Decryption of cipher texts blocks

The sequence of decrypting the ciphertext Ei ( Ei={C1(x,y),t} ) into the plaintext is as follows.

1. Calculate U(xu,yu)=[d]C1
  1. If q=0, then calculate S=xC2⊕xU and go to step 10.
3. Calculate w=(xC23+axC2+b)modp
  1. Calculate y1,2=±w(mod p)
5.Ifq=3,thengotostep7.
  1. Calculate y=min(y1,y2) and go to step 7.
7. Calculate y=max(y1,y2).
8. Calculate M(x,y)=(xC2,y)−U(xU,yU)
  1. M (x, y) is expressed as message S.

  2. Set the initial μ+k0 bit of message S to S1, the last k1 bit to S2. i.e. S1∣|S2=S.

  3. Calculate l=S2⊕Hesh2(S1).

  4. Calculate Sm=S1⊕Hesh1(l).

  5. If the last k0 bit of the Sm message ends with zero values, then the message is genuine and the start μ bit is declared as a plaintext block mi. Otherwise, the message is not genuine.

e) Correctness of the proposed algorithm

mi‖0k0=Sm=S1⊕Hesh1(l)=
(mi‖0k0)⊕Hesh1(l)⊕Hesh1(l)=mi‖0k0

1st case, (q=0):

M=xC2⊕xu=M⊕xR⊕x[d]C1=
=M⊕x[k]Q⊕x[d][k]G=
=M⊕x[k][d]G⊕x[d][k]G=M

2nd case, (q=1 or q=3):

M(x,y)=(xC2,y)−U(xU,yU)==M(x,y)+R(xr,yr)−U(xU,yU)==M(x,y)+[k]Q−[d]C1==M(x,y)+[k][d]G−[d][k]G=M(x,y)

Below a comparison of the software results of the proposed optimal encryption algorithm (EA), elliptic curve (EC)encryption algorithm (EA) is given, RSA and RSA-OAEP (Table1 and 2)

Table 1: Comparison of the time spent on the encryption, decryption process and the volume of cipher texts for non-optimal algorithms based on EC and RSA
Encryption algorithm (EA)Encryption algorithm (EA)based on elliptic curve (EC)*AlgorithmRSA
Open message length (bytes)1519281 671 2081519281 671 208
Change in ciphertext volume (%)21,65%21,65%3,21%3,21%
Time spent on encryption process (seconds)16,91184,87629,936332,297
Time spent on decryption process (seconds)16,926182,4956,41621,086
Table 2: Comparison of the time spent on the encryption, decryption process and the volume of cipher texts for optimal algorithms based on EC and RSA-OAEP
Encryption algorithm (EA)Optimal EA based on ECRSA-OAE Palgorithm
Open message length (bytes)1519281 671 2081519281 671 208
Change in ciphertext volume (%)199%199%154%154%
Time spent on encryption process (seconds)41,06451,43376,814848,243
Time spent on decryption process (seconds)41,356451,83140,1351558,147

IV. CONCLUSIONS

Analysis of the software results shows the following:

  1. EA on EC increases the size of the cryptogram by 18.44% more than the RSA algorithm, and 2.2 times faster in speed.

  2. The optimal EA on the EC increases the volume of the cryptogram by 45% more than the RSA-OAEP algorithm, and 2.4 times faster in speed.

  3. These results were obtained using a computer with the following configuration: 64-bit Intel (R) Core (TM) 2 Quad CPU Q8400 2.67 GHz, 4 GB RAM.

References

20 Cites in Article
  1. 1. O'zdst (2014). Hybrid Cryptographic Protocols Providing Digital Signature. Integer Algorithms in Cryptology and Information Assurance, 185-196.
  2. 2. O'zdst (1092). State standard of the Republic of Uzbekistan. Information technology. Cryptographic information protection. Processes of formation and verification of electronic digital signature. Uzstandart
  3. 3. M Aripov,D Kuryazov (2012). On one EDS algorithm with a composite module // Reports of the Academy of Sciences of the Republic of Uzbekistan. On one EDS algorithm with a composite module // Reports of the Academy of Sciences of the Republic of Uzbekistan, 22-24.
  4. 4. D Kuryazov (2013). EDS algorithm on elliptic curves. Bulletin of the National University of Uzbekistan, 87-90.
  5. 5. Davlatov Mirzo- Ulugbek,Allanov Orif,Turdibekov Baxtiyor (2012). Application Of Neural Networks In Cryptanalysis: The Case Of The Vigenère Algorithm. American Journal of Applied Science and Technology, 5(12), 21-27.
  6. 6. D Kuryazov (2012). Modifications of the EDS algorithm GOST R34.10-94 and their cryptanalysis. Journal of Informatics and Energy Problems, 75-80.
  7. 7. Mamatov Narzillo,Samijonov Abdurashid,Nurimov Parakhat,Niyozmatova Nilufar (2013). Karakalpak Speech Recognition with CMU Sphinx. International Journal of Innovative Technology and Exploring Engineering, 8(10), 2446-2448.
  8. 8. M Aripov,D Kuryazov (2018). Algorithm of without key hash–function based on Sponge-scheme. International Journal of Advances in Computer Science and Technology, 7(6), 40-42.
  9. 9. I Gorbenko,D Balagura (2002). Directional encryption schemes in groups of points on an elliptic curve. Bulletin of the Kharkov National University of Radio Electronics
  10. 10. Nikolay Moldovyan,Andrey Berezin,Anatoly Kornienko,Alexander Moldovyan (2013). Deniable encryption protocols based on probabilistic public-key encryption. 2017 20th Conference of Open Innovations Association (FRUCT), 284-289.
  11. 11. A Bolotov,S Gashkov,Others Algorithmic foundations of elliptic cryptography. Algorithmic foundations of elliptic cryptography, 200-100.
  12. 12. V Miller Use of elliptic curves in cryptography // Advances in cryptology-CRYPTO. Use of elliptic curves in cryptography // Advances in cryptology-CRYPTO, 85
  13. 13. Calif Barbara (1985). Sino-Soviet Conflict: A Historical Bibliography. (Santa Barbara, Calif.: ABC-Clio Information Services, 1984. Pp. 204. $28.50.). American Political Science Review, 79(4), 1279-1279.
  14. 14. Neal Koblitz (1988). From Congruent Numbers to Elliptic Curves. Graduate Texts in Mathematics, 1-50.
  15. 15. Mihir Bellare,Phillip Rogaway (1995). Optimal asymmetric encryption.
  16. 16. Wenbo Mao (2005). Classical Cryptography. Cryptography, 18-61.
  17. 17. B Abdurakhimov,A Sattarov (2018). An algorithm for constructing S-boxes for block symmetric encryption. Universal Journal of Mathematics and Applications, 1
  18. 18. A Sattarov (2018). About the algorithm of data encryption BTS. International Journal of Advances in Computer Science and Technology, 7(6), 36-39.
  19. 19. B Abdurakhimov,A Sattarov (2019). Algebraic immunity of Boolean function // Computational technologies. Algebraic immunity of Boolean function // Computational technologies, 24, 4-12.
  20. 20. D Kuryazov (2020). Algorithm for ensuring message confidentiality using elliptic curves. International journal of Advanced Trends in Computer Science and Engineering (IJATCSE), 9(1), 295-298.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Kuryazov D.M.. 2021. "Optimal Asymmetric Data Encryption Algorithm". Global Journal of Computer Science and Technology - H: Information & Technology GJCST-H Volume 21 (GJCST Volume 21 Issue H2).

More Citation Formats

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Classification
GJCST-H Classification E.3
Version of record
v1.2

Issue date
April 19, 2021

Language
English
Order Article Reprint
Experience in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 1.2K
Total Downloads: 95
All Trends

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

Optimal Asymmetric Data Encryption Algorithm

Kuryazov D.M.
Kuryazov D.M. National University of Uzbekistan, Uzbekistan