Probabilistic analyses on finding optimal combinations of primality tests in real applications

被引:0
|
作者
Park, H [1 ]
Park, SK
Kwon, KR
Kim, DK
机构
[1] Hanyang Univ, Coll Informat & Commun, Seoul 133791, South Korea
[2] Pusan Natl Univ, Sch Elect & Comp Engn, Pusan 609735, South Korea
[3] Pusan Univ Foreign Studies, Div Digital & Informat Engn, Pusan 608738, South Korea
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Generating a prime is an iterative application of generating a random number r and testing the primality of r until r is a prime. Among them, the primality test on r is much more time-consuming than the random number generation and thus it occupies most of the running time of the prime generation. To reduce the running time of the primality test, real applications combine several primality test methods. The most widely used combination is the combination of the trial division and the probabilistic primality test. Although this combination is widely used in practice, few analyses were given on finding the optimal combination, i.e., on finding the optimal number of small primes used in trial division that minimizes the expected running time of this combination. In this paper, we present probabilistic analyses on finding the optimal combinations of the trial division and the probabilistic primality test. Using these analyses, we present three optimal combinations. One is for the primality test and the others are for the safe primality test. The optimal combinations are universal in that they are presented as functions of div and ppt where div is the time required for dividing the random number r by a small prime and ppt is the time required for the probabilistic primality test of r. Thus, in any situation that div and ppt can be measured, the optimal combinations can be calculated from these functions. The experimental results show that our probabilistic analyses predict the optimal combinations well. The predicted optimal combinations can be used as useful guidelines in designing a primality or a safe primality test. The usefulness of the optimal combinations is more evident when the primality test is implemented on embedded systems or crypto-processors because finding optimal combinations using experiments is very time-consuming and inefficient.
引用
收藏
页码:74 / 84
页数:11
相关论文
共 50 条
  • [21] Optimal Applications and Combinations of Renewable Fuel Production from Biomass and Electricity
    Koenig, Andrea
    Ulonska, Kirsten
    Mitsos, Alexander
    Viell, Jorn
    ENERGY & FUELS, 2019, 33 (02) : 1659 - 1672
  • [22] Optimal probabilistic guess of quantum order-finding computation by linear programming theory
    Sawae, R
    Matuda, Y
    Fukuda, K
    Mori, Y
    Tei, M
    Takarabe, K
    Sakata, T
    EXPERIMENTAL IMPLEMENTATION OF QUANTUM COMPUTATION, 2001, : 352 - 358
  • [23] RISC FINDING A PLACE IN REAL-LIFE, REALTIME APPLICATIONS
    ANDREWS, W
    COMPUTER DESIGN, 1993, 32 (08): : 67 - &
  • [24] Optimal Combinations of Isometric Normalization Tests for the Production of Maximum Voluntary Activation of the Shoulder Muscles
    Dal Maso, Fabien
    Marion, Patrick
    Begon, Mickael
    ARCHIVES OF PHYSICAL MEDICINE AND REHABILITATION, 2016, 97 (09): : 1542 - 1551
  • [25] DISCRIMINANT-ANALYSIS AND DIFFERENTIAL DIAGNOSIS IN MEDICINE - SEARCHING FOR OPTIMAL COMBINATIONS OF LABORATORY TESTS
    SOLBERG, HE
    SKREDE, S
    SCANDINAVIAN JOURNAL OF CLINICAL & LABORATORY INVESTIGATION, 1975, 35 : 103 - 103
  • [26] PAFOT: A Position-Based Approach for Finding Optimal Tests of Autonomous Vehicles
    Crespo-Rodriguez, Victor
    Neelofar
    Aleti, Aldeida
    PROCEEDINGS OF THE 2024 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST 2024, 2024, : 159 - 170
  • [27] Optimal algorithms for selecting top-k combinations of attributes: theory and applications
    Chunbin Lin
    Jiaheng Lu
    Zhewei Wei
    Jianguo Wang
    Xiaokui Xiao
    The VLDB Journal, 2018, 27 : 27 - 52
  • [28] Optimal algorithms for selecting top-k combinations of attributes: theory and applications
    Lin, Chunbin
    Lu, Jiaheng
    Wei, Zhewei
    Wang, Jianguo
    Xiao, Xiaokui
    VLDB JOURNAL, 2018, 27 (01): : 27 - 52
  • [29] Probabilistic approach to switched Ethernet for real-time control applications
    Choi, BY
    Song, SJ
    Birch, N
    Huang, J
    SEVENTH INTERNATIONAL CONFERENCE ON REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2000, : 384 - 388
  • [30] Finding Heaviest H-Subgraphs in Real Weighted Graphs, with Applications
    Vassilevska, Virginia
    Williams, Ryan
    Yuster, Raphael
    ACM TRANSACTIONS ON ALGORITHMS, 2010, 6 (03)