Index calculus algorithm

In computational number theory, the index calculus algorithm is a probabilistic algorithm for computing discrete logarithms. Dedicated to the discrete logarithm in where is a prime, index calculus leads to a family of algorithms adapted to finite fields and to some families of elliptic curves. The algorithm collects relations among the discrete logarithms of small primes, computes them by a linear algebra procedure and finally expresses the desired discrete logarithm with respect to the discrete logarithms of small primes.

Description

Roughly speaking, the discrete log problem asks us to find an x such that , where g, h, and the modulus n are given.

The algorithm (described in detail below) applies to the group where q is prime. It requires a factor base as input. This factor base is usually chosen to be the number −1 and the first r primes starting with 2. From the point of view of efficiency, we want this factor base to be small, but in order to solve the discrete log for a large group we require the factor base to be (relatively) large. In practical implementations of the algorithm, those conflicting objectives are compromised one way or another.

The algorithm is performed in three stages. The first two stages depend only on the generator g and prime modulus q, and find the discrete logarithms of a factor base of r small primes. The third stage finds the discrete log of the desired number h in terms of the discrete logs of the factor base.

The first stage consists of searching for a set of r linearly independent relations between the factor base and power of the generator g. Each relation contributes one equation to a system of linear equations in r unknowns, namely the discrete logarithms of the r primes in the factor base. This stage is embarrassingly parallel and easy to divide among many computers.

The second stage solves the system of linear equations to compute the discrete logs of the factor base. A system of hundreds of thousands or millions of equations is a significant computation requiring large amounts of memory, and it is not embarrassingly parallel, so a supercomputer is typically used. This was considered a minor step compared to the others for smaller discrete log computations. However, larger discrete logarithm records[1][2] were made possible only by shifting the work away from the linear algebra and onto the sieve (i.e., increasing the number of equations while reducing the number of variables).

The third stage searches for a power s of the generator g which, when multiplied by the argument h, may be factored in terms of the factor base gsh = (−1)f0 2f1 3f2···prfr.

Finally, in an operation too simple to really be called a fourth stage, the results of the second and third stages can be rearranged by simple algebraic manipulation to work out the desired discrete logarithm x = f0logg(−1) + f1logg2 + f2logg3 + ··· + frloggprs.

The first and third stages are both embarrassingly parallel, and in fact the third stage does not depend on the results of the first two stages, so it may be done in parallel with them.

The choice of the factor base size r is critical, and the details are too intricate to explain here. The larger the factor base, the easier it is to find relations in stage 1, and the easier it is to complete stage 3, but the more relations you need before you can proceed to stage 2, and the more difficult stage 2 is. The relative availability of computers suitable for the different types of computation required for stages 1 and 2 is also important.

Applications in other groups

The lack of the notion of prime elements in the group of points on elliptic curves makes it impossible to find an efficient factor base to run index calculus method as presented here in these groups. Therefore this algorithm is incapable of solving discrete logarithms efficiently in elliptic curve groups. However: For special kinds of curves (so called supersingular elliptic curves) there are specialized algorithms for solving the problem faster than with generic methods. While the use of these special curves can easily be avoided, in 2009 it has been proven that for certain fields the discrete logarithm problem in the group of points on general elliptic curves over these fields can be solved faster than with generic methods. The algorithms are indeed adaptations of the index calculus method.[3]

The algorithm

Input: Discrete logarithm generator , modulus and argument . Factor base , of length .
Output: such that .

  • relations ← empty_list
  • for
    • Using an integer factorization algorithm optimized for smooth numbers, try to factor (Euclidean residue) using the factor base, i.e. find 's such that
    • Each time a factorization is found:
      • Store and the computed 's as a vector (this is a called a relation)
      • If this relation is linearly independent to the other relations:
        • Add it to the list of relations
        • If there are at least relations, exit loop
  • Form a matrix whose rows are the relations
  • Obtain the reduced echelon form of the matrix
    • The first element in the last column is the discrete log of and the second element is the discrete log of and so on
  • for
    • Try to factor over the factor base
    • When a factorization is found:
      • Output

Complexity

Assuming an optimal selection of the factor base, the expected running time (using L-notation) of the index-calculus algorithm can be stated as .

History

The basic idea of the algorithm is due to Western and Miller (1968),[4] which ultimately relies on ideas from Kraitchik (1922).[5] The first practical implementations followed the 1976 introduction of the Diffie-Hellman cryptosystem which relies on the discrete logarithm. Merkle's Stanford University dissertation (1979) was credited by Pohlig (1977) and Hellman and Reyneri (1983), who also made improvements to the implementation.[6][7] Adleman optimized the algorithm and presented it in the present form.[8]

The Index Calculus family

Index Calculus inspired a large family of algorithms. In finite fields with for some prime , the state-of-art algorithms are the Number Field Sieve for Discrete Logarithms, , when is large compared to ,[9] the function field sieve, ,[9] and Joux,[10] for , when is small compared to and the Number Field Sieve in High Degree, for when is middle-sided. Discrete logarithm in some families of elliptic curves can be solved in time for , but the general case remains exponential.

  • Discrete logarithms in finite fields and their cryptographic significance, by Andrew Odlyzko
  • Discrete Logarithm Problem, by Chris Studholme, including the June 21, 2002 paper "The Discrete Log Problem".
  • A. Menezes; P. van Oorschot; S. Vanstone (1997). Handbook of Applied Cryptography. CRC Press. pp. 107–109. ISBN 0-8493-8523-7.

Notes

  1. ^ Thorsten Kleinjung, Claus Diem, Arlen K. Lenstra, Christine Priplata, Colin Stahlke, "Computation of a 768-bit prime field discrete logarithm", IACR sprint, 2017
  2. ^ Joshua Fried, Pierrick Gaudry, Nadia Heninger, Emmanuel Thome, "A kilobit hidden snfs discrete logarithm computation", IACR spring, July 2016
  3. ^ Diem, C (2010). "On the discrete logarithm problem in elliptic curves". Compositio Mathematica.
  4. ^ Western and Miller (1968) Tables of indices and primitive roots, Royal Society Mathematical Tables, vol 9, Cambridge University Press.
  5. ^ M. Kraitchik, Théorie des nombres, Gauthier--Villards, 1922
  6. ^ Pohlig, S. Algebraic and combinatoric aspects of cryptography. Tech. Rep. No. 6602-1, Stanford Electron. Labs., Stanford, Calif., Oct. 1977.
  7. ^ M.E. Hellman and J.M. Reyneri, Fast computation of discrete logarithms in GF(q), Advances in Cryptology – -Proceedings of Crypto, 1983
  8. ^ L. Adleman, A subexponential algorithm for the discrete logarithm problem with applications to cryptography, In 20th Annual Symposium on Foundations of Computer Science, 1979
  9. ^ a b Barbulescu, Razvan (2013). Algorithms for discrete logarithm in finite fields (PhD). University of Lorraine.
  10. ^ Joux, Antoine (August 2013). Lange, Tanja; Lauter, Kristin; Lisoněk, Petr (eds.). A new index calculus algorithm with complexity in very small characteristic. Selected Areas in Cryptography—SAC 2013. Lecture Notes in Computer Science. Vol. 8282. Burnaby, BC, Canada: Springer. pp. 355–379. doi:10.1007/978-3-662-43414-7_18. ISBN 978-3-662-43414-7.

Read other articles:

Peta persebaran bantuan pembangunan resmi tahun 2005. Dalam hubungan internasional, bantuan (juga disebut bantuan internasional atau bantuan luar negeri) adalah perpindahan sumber daya dari satu negara ke negara lain secara sukarela. Bantuan memiliki beberapa tujuan, yaitu tanda persetujuan diplomatik, memperkuat sekutu militer, imbalan atas tindakan yang diambil negara penerima, memperluas pengaruh budaya negara donor, membangun infrastruktur yang diperlukan bagi negara donor untuk mengekspl...

 

 

TawangharjoKecamatanPeta lokasi Kecamatan TawangharjoNegara IndonesiaProvinsiJawa TengahKabupatenGroboganPemerintahan • CamatJoko Suprianto, S.STP., M.HPopulasi (2021) • Total59.911 jiwaKode Kemendagri33.15.11 Kode BPS3315110 Luas93,07 km²Desa/kelurahan10 Untuk tempat lain yang bernama sama, lihat Tawangharjo. Tawangharjo (Hanacaraka: ꦠꦮꦤ꧀ꦒ꧀ꦃꦂꦗ, Jawa: Tawangharja) adalah satu dari 19 kecamatan di Kabupaten Grobogan, berlokasi cukup stra...

 

 

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) قرية امدريب  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة أبين المديرية مديرية لودر الع...

Terowongan Holland Terowongan Holland (bahasa Inggris: Holland Tunnel), awalnya dikenal dengan nama Terowongan Kendaraan Sungai Hudson (Hudson River Vehicular Tunnel) atau Terowongan Jalan Kanal (Canal Street Tunnel), adalah salah satu dari dua terowongan bebas hambatan di bawah Sungai Hudson yang menghubungkan pulau Manhattan di kota dan negara bagian New York dengan Jersey City di negara bagian New Jersey di Amerika Serikat. Mulai dibangun tahun 1920 dan selesai tahun 1927, nama terowongan ...

 

 

The Right HonourableSaulos Chilima PresidenPeter Mutharika PendahuluKhumbo KachaliPenggantiPetahanaWakil Presiden MalawiPetahanaMulai menjabat 31 Februari 2020PresidenLazarus ChakweraPeter Mutharika PendahuluEverton ChimulirenjiPenggantiPetahanaMasa jabatan24 Mei 2014 – 31 Mei 2019PresidenPeter Mutharika PendahuluKhumbo KachaliPenggantiEverton Chimulirenji Informasi pribadiLahir12 Februari 1973 (umur 51)MalawiKebangsaanMalawiPartai politikDPPSuami/istriMaryAnak2PendidikanM...

 

 

Train station in Sebring, Florida, US Sebring, FLGeneral informationLocation601 East Center StreetSebring, FloridaUnited StatesCoordinates27°29′46″N 81°26′5″W / 27.49611°N 81.43472°W / 27.49611; -81.43472Line(s)Auburndale SubdivisionPlatforms1 side platformTracks2ConstructionParkingYesOther informationStation codeAmtrak: SBGHistoryOpened1924[1][2]PassengersFY 202210,301[3] (Amtrak) Services Preceding station Amtrak Following...

USS Catamount (LSD-17) at Subic Bay, Philippines, in 1967. History United States NameUSS Catamount NamesakeCatamount Tavern in Old Bennington, Vermont Launched27 January 1945 Commissioned9 April 1945 Decommissioned31 March 1970 Stricken15 October 1976 FateSold for scrap, 4 December 1975 General characteristics Displacement 7,930 tons (loaded), 4,032 tons (light draft) Length457 ft 9 in (139.5 m) overall Beam  72 ft 2 in (22.0 m) Draft     8 ft 2½ in (2.5 m) fwd,   10 ft ...

 

 

Cet article est une ébauche concernant un homme politique américain et le Massachusetts. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Alexander H. BullockFonctionsGouverneur du Massachusetts4 janvier 1866 - 7 janvier 1869John Albion AndrewWilliam ClaflinDéputé à la Chambre des représentants du MassachusettsSénateur du MassachusettsBiographieNaissance 2 mars 1816RoyalstonDécès 17 janvier 1882 (à 65&#...

 

 

Questa voce sugli argomenti militari italiani e politici italiani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti dei progetti di riferimento 1, 2. Lazzaro Gagliardo Ministro delle finanzeDurata mandato24 maggio 1893 –15 dicembre 1893 Capo del governoGiovanni Giolitti PredecessoreBernardino Grimaldi SuccessoreSidney Sonnino Senatore del Regno d'ItaliaDurata mandato20 giugno 1892 –25 marzo 1899 Legis...

Синелобый амазон Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:ЗавропсидыКласс:Пт�...

 

 

Some of this article's listed sources may not be reliable. Please help improve this article by looking for better, more reliable sources. Unreliable citations may be challenged and removed. (December 2022) (Learn how and when to remove this message) 2016 North Carolina Council of State election ← 2012 November 8, 2016 (2016-11-08) 2020 → All 10 members of the North Carolina Council of State   Majority party Minority party   Party Republican Demo...

 

 

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne cite pas suffisamment ses sources (janvier 2020). Si vous disposez d'ouvrages ou d'articles de référence ou si vous connaissez des sites web de qualité traitant du thème abordé ici, merci de compléter l'article en donnant les références utiles à sa vérifiabilité et en les liant à la section « Notes et références ». En pratique : Quelles sources sont attendues ? C...

Italian association football club Football clubLumezzaneFull nameFootball Club Lumezzane srlNickname(s)LumeFounded19462018 (refounded)GroundStadio Tullio SaleriCapacity4,150ChairmanAndrea CaraccioloManagerArnaldo FranziniLeagueSerie C/A2022–23Serie D Group B, 1st (promoted)WebsiteClub website Home colours Away colours F.C. Lumezzane, commonly known just as Lumezzane, is an Italian association football club based in Lumezzane, Lombardy. The club currently competes in Serie C, the third tier ...

 

 

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁�...

 

 

Сельское поселение России (МО 2-го уровня)Новотитаровское сельское поселение Флаг[d] Герб 45°14′09″ с. ш. 38°58′16″ в. д.HGЯO Страна  Россия Субъект РФ Краснодарский край Район Динской Включает 4 населённых пункта Адм. центр Новотитаровская Глава сельского пос�...

ヨハネス12世 第130代 ローマ教皇 教皇就任 955年12月16日教皇離任 964年5月14日先代 アガペトゥス2世次代 レオ8世個人情報出生 937年スポレート公国(中部イタリア)スポレート死去 964年5月14日 教皇領、ローマ原国籍 スポレート公国親 父アルベリーコ2世(スポレート公)、母アルダその他のヨハネステンプレートを表示 ヨハネス12世(Ioannes XII、937年 - 964年5月14日)は、ロ...

 

 

تحتاج هذه المقالة إلى الاستشهاد بمصادر إضافية لتحسين وثوقيتها. فضلاً ساهم في تطوير هذه المقالة بإضافة استشهادات من مصادر موثوق بها. من الممكن التشكيك بالمعلومات غير المنسوبة إلى مصدر وإزالتها. بحاجة للاستشهاد بمعجم مطبوع بدلاً عن قاعدة بيانات معجمية على الإنترنت.Learn how and w...

 

 

伊斯兰合作组织Organisation of Islamic Cooperation(英語)Organisation de la Coopération Islamique(法語)منظمة التعاون الإسلامي(阿拉伯語) 旗帜格言:To safeguard the interests and ensure the progress and well-being of Muslims  成员国  观察国  暂停会籍行政总部 沙地阿拉伯吉达 官方语言阿拉伯语英语法语类型宗教成员国57个在籍成员国(英语:Member states of the Organisation ...

Radio station in Fort Wayne, IndianaWMEEFort Wayne, IndianaBroadcast areaFort Wayne metroFrequency97.3 MHz (HD Radio)Branding97.3 WMEEProgrammingFormatHot adult contemporarySubchannelsHD1: WMEE analogHD2: Talk (WOWO simulcast)OwnershipOwnerFederated Media(Pathfinder Communications Corporation)Sister stationsWBYR, WFWI, WKJG, WOWO, WQHK-FMHistoryFirst air dateFebruary 5, 1965; 59 years ago (1965-02-05)Former call signsWKJG-FM (1965–71)WMEF (1971–79)Call sign meani...

 

 

Waduk Yeruham Sebuah jembatan di atas sungai Besor, Negev Barat. Bunga Anemon coronaria bewarna merah dekat sungai Besor. Khas untuk wilayah rawa Loess, yang dapat dilihat di latar belakang. Besor (Ibrani: נחל הבשורנחל הבשורIbrani: נחל הבשור, Nahal HaBesor) adalah sebuah wadi (sungai padang gurun) di selatan Israel. Sungai ini bermata air di Gunung Boker (dekat Sde Boker), dan bermuara di Laut Tengah dekat Al-Zahra di Jalur Gaza, di mana sungai itu disebut sebagai Wadi...