One-way function

Unsolved problem in computer science:
Do one-way functions exist?

In computer science, a one-way function is a function that is easy to compute on every input, but hard to invert given the image of a random input. Here, "easy" and "hard" are to be understood in the sense of computational complexity theory, specifically the theory of polynomial time problems. Not being one-to-one is not considered sufficient for a function to be called one-way (see Theoretical definition, below).

The existence of such one-way functions is still an open conjecture. Their existence would prove that the complexity classes P and NP are not equal, thus resolving the foremost unsolved question of theoretical computer science.[1]: ex. 2.2, page 70  The converse is not known to be true, i.e. the existence of a proof that P ≠ NP would not directly imply the existence of one-way functions.[2]

In applied contexts, the terms "easy" and "hard" are usually interpreted relative to some specific computing entity; typically "cheap enough for the legitimate users" and "prohibitively expensive for any malicious agents".[citation needed] One-way functions, in this sense, are fundamental tools for cryptography, personal identification, authentication, and other data security applications. While the existence of one-way functions in this sense is also an open conjecture, there are several candidates that have withstood decades of intense scrutiny. Some of them are essential ingredients of most telecommunications, e-commerce, and e-banking systems around the world.

Theoretical definition

A function f : {0, 1}* → {0, 1}* is one-way if f can be computed by a polynomial-time algorithm, but any polynomial-time randomized algorithm that attempts to compute a pseudo-inverse for f succeeds with negligible probability. (The * superscript means any number of repetitions, see Kleene star.) That is, for all randomized algorithms , all positive integers c and all sufficiently large n = length(x),

where the probability is over the choice of x from the discrete uniform distribution on {0, 1} n, and the randomness of .[3]

Note that, by this definition, the function must be "hard to invert" in the average-case, rather than worst-case sense. This is different from much of complexity theory (e.g., NP-hardness), where the term "hard" is meant in the worst-case. That is why even if some candidates for one-way functions (described below) are known to be NP-complete, it does not imply their one-wayness. The latter property is only based on the lack of known algorithms to solve the problem.

It is not sufficient to make a function "lossy" (not one-to-one) to have a one-way function. In particular, the function that outputs the string of n zeros on any input of length n is not a one-way function because it is easy to come up with an input that will result in the same output. More precisely: For such a function that simply outputs a string of zeroes, an algorithm F that just outputs any string of length n on input f(x) will "find" a proper preimage of the output, even if it is not the input which was originally used to find the output string.

A one-way permutation is a one-way function that is also a permutation—that is, a one-way function that is bijective. One-way permutations are an important cryptographic primitive, and it is not known if their existence is implied by the existence of one-way functions.

A trapdoor one-way function or trapdoor permutation is a special kind of one-way function. Such a function is hard to invert unless some secret information, called the trapdoor, is known.

A collision-free hash function f is a one-way function that is also collision-resistant; that is, no randomized polynomial time algorithm can find a collision—distinct values x, y such that f(x) = f(y)—with non-negligible probability.[4]

Theoretical implications of one-way functions

If f is a one-way function, then the inversion of f would be a problem whose output is hard to compute (by definition) but easy to check (just by computing f on it). Thus, the existence of a one-way function implies that FP ≠ FNP, which in turn implies that P ≠ NP. However, P ≠ NP does not imply the existence of one-way functions.

The existence of a one-way function implies the existence of many other useful concepts, including:

Candidates for one-way functions

The following are several candidates for one-way functions (as of April 2009). Clearly, it is not known whether these functions are indeed one-way; but extensive research has so far failed to produce an efficient inverting algorithm for any of them.[citation needed]

Multiplication and factoring

The function f takes as inputs two prime numbers p and q in binary notation and returns their product. This function can be "easily" computed in O(b2) time, where b is the total number of bits of the inputs. Inverting this function requires finding the factors of a given integer N. The best factoring algorithms known run in time, where b is the number of bits needed to represent N.

This function can be generalized by allowing p and q to range over a suitable set of semiprimes. Note that f is not one-way for randomly selected integers p, q > 1, since the product will have 2 as a factor with probability 3/4 (because the probability that an arbitrary p is odd is 1/2, and likewise for q, so if they're chosen independently, the probability that both are odd is therefore 1/4; hence the probability that p or q is even, is 1 − 1/4 = 3/4).

The Rabin function (modular squaring)

The Rabin function,[1]: 57  or squaring modulo , where p and q are primes is believed to be a collection of one-way functions. We write

to denote squaring modulo N: a specific member of the Rabin collection. It can be shown that extracting square roots, i.e. inverting the Rabin function, is computationally equivalent to factoring N (in the sense of polynomial-time reduction). Hence it can be proven that the Rabin collection is one-way if and only if factoring is hard. This also holds for the special case in which p and q are of the same bit length. The Rabin cryptosystem is based on the assumption that this Rabin function is one-way.

Discrete exponential and logarithm

Modular exponentiation can be done in polynomial time. Inverting this function requires computing the discrete logarithm. Currently there are several popular groups for which no algorithm to calculate the underlying discrete logarithm in polynomial time is known. These groups are all finite abelian groups and the general discrete logarithm problem can be described as thus.

Let G be a finite abelian group of cardinality n. Denote its group operation by multiplication. Consider a primitive element αG and another element βG. The discrete logarithm problem is to find the positive integer k, where 1 ≤ k ≤ n, such that:

The integer k that solves the equation αk = β is termed the discrete logarithm of β to the base α. One writes k = logα β.

Popular choices for the group G in discrete logarithm cryptography are the cyclic groups (Zp)× (e.g. ElGamal encryption, Diffie–Hellman key exchange, and the Digital Signature Algorithm) and cyclic subgroups of elliptic curves over finite fields (see elliptic curve cryptography).

An elliptic curve is a set of pairs of elements of a field satisfying y2 = x3 + ax + b. The elements of the curve form a group under an operation called "point addition" (which is not the same as the addition operation of the field). Multiplication kP of a point P by an integer k (i.e., a group action of the additive group of the integers) is defined as repeated addition of the point to itself. If k and P are known, it is easy to compute R = kP, but if only R and P are known, it is assumed to be hard to compute k.

Cryptographically secure hash functions

There are a number of cryptographic hash functions that are fast to compute, such as SHA 256. Some of the simpler versions have fallen to sophisticated analysis, but the strongest versions continue to offer fast, practical solutions for one-way computation. Most of the theoretical support for the functions are more techniques for thwarting some of the previously successful attacks.

Other candidates

Other candidates for one-way functions include the hardness of the decoding of random linear codes, the hardness of certain lattice problems, and the subset sum problem (Naccache–Stern knapsack cryptosystem).

Universal one-way function

There is an explicit function f that has been proved to be one-way, if and only if one-way functions exist.[5] In other words, if any function is one-way, then so is f. Since this function was the first combinatorial complete one-way function to be demonstrated, it is known as the "universal one-way function". The problem of finding a one-way function is thus reduced to proving—perhaps non-constructively—that one such function exists.

There also exists a function that is one-way if polynomial-time bounded Kolmogorov complexity is mildly hard on average. Since the existence of one-way functions implies that polynomial-time bounded Kolmogorov complexity is mildly hard on average, the function is a universal one-way function.[6]

See also

References

  1. ^ a b Oded Goldreich (2001). Foundations of Cryptography: Volume 1, Basic Tools (draft available from author's site). Cambridge University Press. ISBN 0-521-79172-3. See also wisdom.weizmann.ac.il.
  2. ^ Goldwasser, S. and Bellare, M. "Lecture Notes on Cryptography". Summer course on cryptography, MIT, 1996–2001.
  3. ^ Many authors view this definition as strong one-way function. A weak one-way function can be defined similarly except that the probability that every adversarial fails to invert f is noticeable. However, one may construct strong one-way functions based on weak ones. Loosely speaking, strong and weak versions of one-way function are equivalent theoretically. See Goldreich's Foundations of Cryptography, vol. 1, ch. 2.1–2.3.
  4. ^ Russell, A. (1995). "Necessary and Sufficient Conditions for Collision-Free Hashing". Journal of Cryptology. 8 (2): 87–99. doi:10.1007/BF00190757. S2CID 26046704.
  5. ^ Levin, Leonid A. (January 2003). "The Tale of One-Way Functions". Problems of Information Transmission. 39 (39): 92–103. arXiv:cs.CR/0012023. doi:10.1023/A:1023634616182.
  6. ^ Liu, Yanyi; Pass, Rafael (2020-09-24). "On One-way Functions and Kolmogorov Complexity". arXiv:2009.11514 [cs.CC].

Further reading

Read other articles:

Overview of health in Cambodia Life expectancy in Cambodia The quality of health in Cambodia is rising along with its growing economy. The public health care system has a high priority from the Cambodian government and with international help and assistance, Cambodia has seen some major and continuous improvements in the health profile of its population since the 1980s, with a steadily rising life expectancy. A health reform of Cambodia in the 1990s, successfully improved the health of the popul…

Emirati professional football club This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Emirates Club – news · newspapers · books · scholar · JSTOR (July 2021) (Learn how and when to remove this message) Football clubEmirates Clubنادي الإماراتFull nameEmirates Cultural and Sports ClubNickname(s)The Falco…

Cet article est une ébauche concernant une femme politique srilankaise. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Chandrika Kumaratunga(si) චන්ද්‍රිකා කුමාරතුංග Chandrika Kumaratunga en janvier 2005. Fonctions Présidente de la République démocratique socialiste du Sri Lanka 12 novembre 1994 – 19 novembre 2005 (11 ans et 7 jours) Élection 9 novembre 1994 R…

Pour les articles homonymes, voir Eloy (homonymie). Nicolas ÉloyBiographieNaissance 20 septembre 1714MonsDécès 10 mars 1788 (à 73 ans)MonsFormation Ancienne université de LouvainActivité Médecinmodifier - modifier le code - modifier Wikidata Nicolas François Joseph Éloy, né à Mons le 20 septembre 1714 et mort le 10 mars 1788 dans la même ville, est un médecin et écrivain, auteur d'un Dictionnaire historique de la médecine ancienne et moderne. Biographie Nicolas Éloy est le f…

ChapecoenseCalcio Furacão do Oeste, Verdão do Oeste, Chape, ChapeTerror Segni distintiviUniformi di gara Casa Trasferta Colori sociali Verde, bianco SimboliIndiano d'america Dati societariCittàChapecó Nazione Brasile ConfederazioneCONMEBOL Federazione CBF CampionatoSérie B Fondazione1973 Presidente Gilson Sbeghen Allenatore Umberto Louzer StadioArena Condá(22.600 posti) Sito webwww.chapecoense.com PalmarèsTrofei nazionali7 Campionati Catarinensi1 Coppe Santa Catarina Trofei internazi…

У этого термина существуют и другие значения, см. Западный округ. Западный внутригородской округ город Краснодар Дата основания 1936 год Дата упразднения 1994 Прежние имена Кагановичский, Ленинский районы Микрорайоны Дубинка, Черёмушки, Покровка Площадь 22[1]  км² Насел…

Crossotus vagepictus Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Coleoptera Famili: Cerambycidae Genus: Crossotus Spesies: Crossotus vagepictus Crossotus vagepictus adalah spesies kumbang tanduk panjang yang tergolong famili Cerambycidae. Spesies ini juga merupakan bagian dari genus Crossotus, ordo Coleoptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia. Larva kumbang ini biasanya mengebor ke dalam kayu dan dapat menyebabkan kerusakan pada batang kayu h…

Gabriel AwardDocumentarian Dennis Goulden being presented with a Gabriel Award.Sponsored byCatholic Media AssociationFirst awarded1965; 59 years ago (1965) The Gabriel Awards are a Catholic honor awarded each year for excellence in broadcasting.[1] They were started by the Catholic Academy for Communication Arts Professionals in 1965, and are currently administered by the Catholic Media Association. Description Awards are given to national and local market radio and tel…

艾德礼伯爵 阁下The Rt Hon. The Earl AttleeKG OM CH PC FRS联合王国首相任期1945年7月26日—1951年10月26日君主乔治六世副职赫伯特·莫里森前任温斯顿·丘吉尔继任温斯顿·丘吉尔联合王国副首相任期1942年2月19日—1945年5月23日(战时内阁)君主乔治六世首相温斯顿·丘吉尔前任职位创立继任赫伯特·莫里森反对党领袖任期1951年10月26日—1955年11月25日君主乔治六世伊丽莎白二世…

1900年美國總統選舉 ← 1896 1900年11月6日 1904 → 447張選舉人票獲勝需224張選舉人票投票率73.2%[1] ▼ 6.1 %   获提名人 威廉·麥金利 威廉·詹寧斯·布賴恩 政党 共和黨 民主党 家鄉州 俄亥俄州 內布拉斯加州 竞选搭档 西奧多·羅斯福 阿德萊·史蒂文森一世 选举人票 292 155 胜出州/省 28 17 民選得票 7,228,864 6,370,932 得票率 51.6% 45.5% 總統選舉結果地圖,紅色代表麥…

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)[2…

جون ملنور   معلومات شخصية اسم الولادة (بالإنجليزية: John Willard Milnor)‏[1]  الميلاد 20 فبراير 1931 (93 سنة)[2][3]  أورانج  [لغات أخرى]‏[1]  مواطنة الولايات المتحدة  عضو في جمعية الرياضيات الأمريكية[4][5]،  والأكاديمية الوطنية للعلوم،  والأكادي…

2016 single by Keith UrbanBlue Ain't Your ColorSingle by Keith Urbanfrom the album Ripcord Released8 August 2016 (2016-08-08)Recorded2016GenreCountry bluescountry popLength3:50LabelHit RedCapitol NashvilleSongwriter(s)Steven Lee OlsenHillary LindseyClint LagerbergProducer(s)Dann HuffKeith UrbanKeith Urban singles chronology Wasted Time (2016) Blue Ain't Your Color (2016) The Fighter (2017) Blue Ain't Your Color is a song recorded by New Zealand-born Australian country music singer…

American baseball player (1901-1983) Baseball player Fred SchulteSchulte with the Washington Senators in 1933Center fielderBorn: (1901-01-13)January 13, 1901Belvidere, IllinoisDied: May 20, 1983(1983-05-20) (aged 82)Belvidere, IllinoisBatted: RightThrew: RightMLB debutApril 15, 1927, for the St. Louis BrownsLast MLB appearanceOctober 3, 1937, for the Pittsburgh PiratesMLB statisticsBatting average.291Home runs47Runs batted in593 Teams St. Louis Browns (1927–1…

2015 Bodoland Territorial Council election ← 2010 8 April 2015 2020 → All 40 seats in the Bodoland Territorial CouncilTurnout2,065,956 (78.18%)[1]   First party Second party Third party   Leader Hagrama Mohilary Badruddin Ajmal undeclared Party BPF AIUDF BJP Leader's seat Deborgaon (ST) none Seats won 20 4 1 Seat change 11 4 1 Popular vote 441,437 58,692 200,494 Chief before election Hagrama Mohilary Bodoland People's Front Elected Chie…

Newspaper in Oregon, U.S. The OutlookTypeBiweekly newspaperOwner(s)Pamplin Media GroupManaging editorSteve BrownFounded1911LanguageEnglishCityGresham, Oregon, U.S.Circulation9,068 (as of 2022)[1]Websitetheoutlookonline.com The Outlook is a newspaper published in Gresham, Oregon, a suburb of Portland in the U.S. state of Oregon. It was founded in 1911,[2][3] and is currently owned by the Pamplin Media Group. History It was named the Gresham Outlook from 1911 to 1991 an…

Formal Native American tribe recognized by the American federal government This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Tribe Native American – news · newspapers · books · scholar · JSTOR (December 2021) (Learn how and when to remove this message) Map of current states with U.S. federally recognized tri…

American dramatist The topic of this article may not meet Wikipedia's notability guideline for biographies. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.Find sources: David Cerda – news · newspapers · books · scholar ·…

American economist (born 1941) William NordhausNordhaus in Stockholm, December 2018BornWilliam Dawbney Nordhaus (1941-05-31) May 31, 1941 (age 83)[2]Albuquerque, New Mexico, U.S.EducationYale University (BA, MA)Sciences PoMassachusetts Institute of Technology (PhD)AwardsBBVA Foundation Frontiers of Knowledge Award (2017)Nobel Memorial Prize in Economic Sciences (2018)Scientific careerFieldsEnvironmental economicsInstitutionsYale UniversityThesisA theory of endogenous technological c…

Gully BoyPoster rilis teatrikalSutradaraZoya AkhtarProduserFarhan AkhtarZoya AkhtarRitesh SidhwaniDitulis olehVijay Maurya(dialog)SkenarioReema KagtiZoya AkhtarCeritaReema KagtiZoya AkhtarPemeranRanveer SinghAlia BhattSiddhant ChaturvediPenata musikLagu: Lihat soundtrackSkor:Karsh KaleThe Salvage Audio CollectiveSinematograferJay OzaPenyuntingNitin BaidPerusahaanproduksiExcel EntertainmentTiger Baby FilmsDistributorAA FilmsZee Studios InternationalCinestaan Film CompanySradvn productionTan…