AN EFFICIENT ALGORITHM FOR SQUARING MULTI-WORD NUMBERS

A method of implementing the operation of squaring a number with a length of N words (N = 2n ) is proposed, which allows performing calculations based on eight multiplications of numbers with a length of N / 4 words (N ≥ 4 ). The squaring operation is one of the main operations of encryption, decryption, and verification of keys in asymmetric cryptography. The speed of operations of asymmetric cryptography depends on the speed of the square operation. The complexity of the proposed method for numbers with a length of N words is evaluated in the form of the theorem, and it is shown that the calculation can be performed based on four squares of numbers with a length of N / 4 words and four multiplications of numbers with a length of N / 4 words. For squaring a 4-word number, the developed method requires eight one-word multiplication operations, one multiplication less than in the Karatsuba‘s method, which is used recursively. The method can be used recursively, which increases the possibility of parallelizing the implementation of squaring large numbers. The results of the paper can be used for the development of fast multi-word arithmetic algorithms and the implementation of the squaring of large numbers in a circuit design. Keywords: multiword arithmetic, multiword multiplication, multiword squaring, multiword squaring by modulo, asymmetric cryptography.

Authors

Publication Details

Journal
Kibernetyka ta Systemnyi Analiz
Published
2025-01-01
DOI
https://doi.org/10.34229/kca2522-9664.25.3.17
Primary Topic
Educational Technology and Assessment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AN EFFICIENT ALGORITHM FOR SQUARING MULTI-WORD NUMBERS

Andrii Tereshchenko, V. K. Zadiraka
Kibernetyka ta Systemnyi Analiz
Educational Technology and Assessment
article

AN EFFICIENT ALGORITHM FOR SQUARING MULTI-WORD NUMBERS

Andrii Tereshchenko, V. K. Zadiraka
article en

Abstract

A method of implementing the operation of squaring a number with a length of N words (N = 2n ) is proposed, which allows performing calculations based on eight multiplications of numbers with a length of N / 4 words (N ≥ 4 ). The squaring operation is one of the main operations of encryption, decryption, and verification of keys in asymmetric cryptography. The speed of operations of asymmetric cryptography depends on the speed of the square operation. The complexity of the proposed method for numbers with a length of N words is evaluated in the form of the theorem, and it is shown that the calculation can be performed based on four squares of numbers with a length of N / 4 words and four multiplications of numbers with a length of N / 4 words. For squaring a 4-word number, the developed method requires eight one-word multiplication operations, one multiplication less than in the Karatsuba‘s method, which is used recursively. The method can be used recursively, which increases the possibility of parallelizing the implementation of squaring large numbers. The results of the paper can be used for the development of fast multi-word arithmetic algorithms and the implementation of the squaring of large numbers in a circuit design. Keywords: multiword arithmetic, multiword multiplication, multiword squaring, multiword squaring by modulo, asymmetric cryptography.

Kibernetyka ta Systemnyi Analiz
Openalex Percentile: Top 84%
Educational Technology and Assessment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.