Paillier cryptosystem

The Paillier cryptosystem, invented by and named after Pascal Paillier in 1999, is a probabilistic asymmetric algorithm for public key cryptography. The problem of computing n-th residue classes is believed to be computationally difficult. The decisional composite residuosity assumption is the intractability hypothesis upon which this cryptosystem is based.

The scheme is an additive homomorphic cryptosystem; this means that, given only the public key and the encryption of and , one can compute the encryption of .

Algorithm

The scheme works as follows:

Key generation

  1. Choose two large prime numbers and randomly and independently of each other such that . This property is assured if both primes are of equal length.[1]
  2. Compute and . lcm means Least Common Multiple.
  3. Select random integer where
  4. Ensure divides the order of by checking the existence of the following modular multiplicative inverse: ,
where function is defined as .
Note that the notation does not denote the modular multiplication of times the modular multiplicative inverse of but rather the quotient of divided by , i.e., the largest integer value to satisfy the relation .
  • The public (encryption) key is .
  • The private (decryption) key is

If using p,q of equivalent length, a simpler variant of the above key generation steps would be to set and , where .[1] The simpler variant is recommended for implementational purposes, because in the general form the calculation time of can be very high with sufficiently large primes p,q.

Encryption

  1. Let be a message to be encrypted where
  2. Select random where and .
    (Note: if you find a value that has , you can use this to calculate the private key: this is unlikely enough to ignore.)
  3. Compute ciphertext as:

Decryption

  1. Let be the ciphertext to decrypt, where
  2. Compute the plaintext message as:

As the original paper[2] points out, decryption is "essentially one exponentiation modulo ."

Homomorphic properties

A notable feature of the Paillier cryptosystem is its homomorphic properties along with its non-deterministic encryption (see Electronic voting in Applications for usage). As the encryption function is additively homomorphic, the following identities can be described:

  • Homomorphic addition of plaintexts
The product of two ciphertexts will decrypt to the sum of their corresponding plaintexts,
The product of a ciphertext with a plaintext raising will decrypt to the sum of the corresponding plaintexts,
  • Homomorphic multiplication of plaintexts
A ciphertext raised to the power of a plaintext will decrypt to the product of the two plaintexts,
More generally, a ciphertext raised to a constant k will decrypt to the product of the plaintext and the constant,

However, given the Paillier encryptions of two messages there is no known way to compute an encryption of the product of these messages without knowing the private key.

Background

Paillier cryptosystem exploits the fact that certain discrete logarithms can be computed easily.

For example, by binomial theorem,

This indicates that:

Therefore, if:

then

.

Thus:

,
where function is defined as (quotient of integer division) and .

Semantic security

The original cryptosystem as shown above does provide semantic security against chosen-plaintext attacks (IND-CPA). The ability to successfully distinguish the challenge ciphertext essentially amounts to the ability to decide composite residuosity. The so-called decisional composite residuosity assumption (DCRA) is believed to be intractable.

Because of the aforementioned homomorphic properties however, the system is malleable, and therefore does not enjoy the highest level of semantic security, protection against adaptive chosen-ciphertext attacks (IND-CCA2). Usually in cryptography the notion of malleability is not seen as an "advantage," but under certain applications such as secure electronic voting and threshold cryptosystems, this property may indeed be necessary.

Paillier and Pointcheval however went on to propose an improved cryptosystem that incorporates the combined hashing of message m with random r. Similar in intent to the Cramer–Shoup cryptosystem, the hashing prevents an attacker, given only c, from being able to change m in a meaningful way. Through this adaptation the improved scheme can be shown to be IND-CCA2 secure in the random oracle model.

Applications

Electronic voting

Semantic security is not the only consideration. There are situations under which malleability may be desirable. Secure electronic voting systems can utilize the above homomorphic properties. Consider a simple binary ("for" or "against") vote. Let m voters cast a vote of either 1 (for) or 0 (against). Each voter encrypts their choice before casting their vote. The election official takes the product of the m encrypted votes and then decrypts the result and obtains the value n, which is the sum of all the votes. The election official then knows that n people voted for and m-n people voted against. The role of the random r ensures that two equivalent votes will encrypt to the same value only with negligible likelihood, hence ensuring voter privacy.

Electronic cash

Another feature named in paper is the notion of self-blinding. This is the ability to change one ciphertext into another without changing the content of its decryption. This has application to the development of ecash, an effort originally spearheaded by David Chaum. Imagine paying for an item online without the vendor needing to know your credit card number, and hence your identity. The goal in both electronic cash and electronic voting, is to ensure the e-coin (likewise e-vote) is valid, while at the same time not disclosing the identity of the person with whom it is currently associated.

Electronic auction

The Paillier cryptosystem plays a crucial role in enhancing the security of electronic auctions. It prevents fraudulent activities such as dishonest auctioneers and collusion between bidders and auctioneers who manipulate bids. By ensuring the confidentiality of actual bidding values while revealing auction results, the Pailler cryptosystem successfully promotes fair practices. [3]

Threshold cryptosystem

The homomorphic property of Paillier cryptosystem is sometimes used to build Threshold ECDSA signature.[4]

See also

References

  • Paillier, Pascal (1999). "Public-Key Cryptosystems Based on Composite Degree Residuosity Classes" (PDF). Advances in Cryptology – EUROCRYPT ’99. EUROCRYPT. Springer. doi:10.1007/3-540-48910-X_16.
  • Paillier, Pascal; Pointcheval, David (1999). "Efficient Public-Key Cryptosystems Provably Secure Against Active Adversaries". ASIACRYPT. Springer. pp. 165–179. doi:10.1007/978-3-540-48000-6_14.
  • Paillier, Pascal (1999). Cryptosystems Based on Composite Residuosity (Ph.D. thesis). École Nationale Supérieure des Télécommunications.
  • Paillier, Pascal (2002). "Composite-Residuosity Based Cryptography: An Overview" (PDF). CryptoBytes. 5 (1). Archived from the original (PDF) on October 20, 2006.

Notes

  1. ^ a b Jonathan Katz, Yehuda Lindell, "Introduction to Modern Cryptography: Principles and Protocols," Chapman & Hall/CRC, 2007
  2. ^ Paillier, Pascal (1999). "Public-Key Cryptosystems Based on Composite Degree Residuosity Classes". Advances in Cryptology — EUROCRYPT '99. Lecture Notes in Computer Science. Vol. 1592. Springer. pp. 223–238. doi:10.1007/3-540-48910-X_16. ISBN 978-3-540-65889-4.
  3. ^ Pan, M., Sun, J., & Fang, Y. (2011). Purging the Back-Room Dealing: Secure Spectrum Auction Leveraging Paillier Cryptosystem. IEEE Journal on Selected Areas in Communications, 29(4), 866–876. https://doi.org/10.1109/JSAC.2011.110417
  4. ^ Canetti, Ran; Gennaro, Rosario; Goldfeder, Steven; Makriyannis, Nikolaos; Peled, Udi (30 October 2020). "UC Non-Interactive, Proactive, Threshold ECDSA with Identifiable Aborts". Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security. Association for Computing Machinery. pp. 1769–1787. doi:10.1145/3372297.3423367. ISBN 9781450370899. S2CID 226228099.

Read other articles:

Lake in the Bernese Oberland, SwitzerlandOeschinen LakeOeschinen Lake from Heuberg. View towards the Blüemlisalp and the Doldenhorn.Oeschinen LakeShow map of Canton of BernOeschinen LakeShow map of Canton of ValaisOeschinen LakeShow map of SwitzerlandOeschinen LakeShow map of AlpsLocationKandersteg, Bernese OberlandCoordinates46°29′54″N 07°43′37″E / 46.49833°N 7.72694°E / 46.49833; 7.72694Typeoligotrophic, holomicticPrimary inflowsBärglibach, Wyssbach, Läge…

الجامعة اللبنانية الفرنسية للأعمال والإدارة في أربيل معلومات التأسيس 2007[1]  الموقع الجغرافي المكان أربيل  البلد العراق  إحصاءات عضوية الوكالة الجامعية الفرانكوفونية[2]  الموقع الموقع الرسمي  تعديل مصدري - تعديل   تأسست الجامعة اللبنانية الفرنسية عام 2…

 本表是動態列表,或許永遠不會完結。歡迎您參考可靠來源來查漏補缺。 潛伏於中華民國國軍中的中共間諜列表收錄根據公開資料來源,曾潛伏於中華民國國軍、被中國共產黨聲稱或承認,或者遭中華民國政府調查審判,為中華人民共和國和中國人民解放軍進行間諜行為的人物。以下列表以現今可查知時間為準,正確的間諜活動或洩漏機密時間可能早於或晚於以下所歸類…

1955 Canadian Football championship game 43rd Grey Cup Edmonton Eskimos Montreal Alouettes (14–2) (8–4) 34 19 Head coach: Pop Ivy Head coach: Peahead Walker 1234 Total Edmonton Eskimos 612124 34 Montreal Alouettes 13600 19 DateNovember 26, 1955StadiumEmpire StadiumLocationVancouverAttendance39,417BroadcastersNetworkCBCAnnouncersSteve Douglas, Bill Stephenson← 42nd Grey Cup44th Grey Cup → The 43rd Grey Cup game was played on November 26, 1955, before …

View of the St. Liborius Church in Grumme, Bochum (September 2007) Grumme is a quarter of the Westphalian city of Bochum in Germany. It is north of the city centre. Grumme has a tram line running from Gerthe to Hattingen. Grumme is world-famous because of the Starlight Express, the most-viewed musical in the world.[citation needed] It is famous for its parks and avenues, the German Mining Museum, many hospitals and old buildings. It is one of the wealthiest parts of the Ruhr area. Grumme…

جزء من الإبادة الجماعية للسكان الأصليينالإبادة الجماعية للسكان الأصليين مشاكل إبادة بيئية تطهير عرقي علم اجتماع العلاقات الإثنية والعرقية Forced assimilation / تحول قسري Genocide Denial اغتصاب إبادي استعمار استيطاني أفريقيا جنوب الصحراء الكبرى الفظائع في دولة الكونغو الحرة الإبادة ال…

Political party in Russia For other uses, see Rodina (disambiguation). This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The neutrality of this article is disputed. Relevant discussion may be found on the talk page. Please do not remove this message until conditions to do so are met. (April 2015) (Learn how and when to remove this message) This article needs additional citations for verificati…

American computer scientist This article is about the computer scientist. For the cinematographer, see Clifford Stine. This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Clifford Stein – news · newspapers · books…

French economist 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: Edmond Malinvaud – news · newspapers · books · scholar · JSTOR (March 2015) (Learn how and when to remove this message) Edmond MalinvaudEdmond Malinvaud (right), next to Yves Balasko (center) and Gérard Debreu, in 1977Born(1923-04-25)25 April 192…

2015 monograph by Nick Srnicek and Alex Williams Inventing the Future: Postcapitalism and a World Without Work AuthorsNick Srnicek & Alex WilliamsCover artistMichael OswellCountryUnited KingdomLanguageEnglishGenrePolitics, economicsPublished2015, LondonPublisherVerso BooksMedia typePrint (paperback), ebookPages245ISBN978-1-7847-8096-8Websitehttps://www.versobooks.com/en-gb/products/148-inventing-the-future Inventing the Future: Postcapitalism and a World Without Work is a 2015 mono…

Mandi lumpur di Turki Mandi lumpur Amerika Serikat Gajah yang sedang mandi lumpur Mandi lumpur adalah aktivitas mandi dengan menggunakan lumpur, biasanya sering dilakukan di daerah di mana air panas dapat bercampur dengan abu vulkanik. Mandi lumpur telah dikenal selama ribuan tahun, dan saat ini dapat ditemukan sebagai layanan spa di banyak negara.[1][2] Beberapa hewan seperti kerbau dan gajah juga dikenal sering berendam dan mandi di dalam lumpur. Lokasi mandi lumpur di Amerika …

Arizona range war (1882–1892) Pleasant Valley WarPart of the Range WarsEdwin Tewksbury in the 1890s, the last surviving Tewksbury to be involved in the feud.Commodore Perry Owens, as Sheriff of Apache County, Arizona, 1886–1888John Fletcher Fairchild, member of sheriff Mulvenon's posse and later sheriff of Coconino CountyFrederick Russell Burnham in Arizona Territory during 1881An unidentified member of Sheriff Munvenon's posse[1]Date1882–1892LocationTonto Basin, Arizona Territory,…

American online pharmacy Amazon PharmacyCompany typeSubsidiaryIndustryPharmaceuticalFoundedNovember 17, 2020; 3 years ago (2020-11-17)Area servedUnited StatesServicesOnline pharmacyParentAmazonWebsitepharmacy.amazon.com Amazon Pharmacy is an American online pharmacy which is a subsidiary of Amazon. The business was launched on November 17, 2020, initially offering pharmacy service only in the United States. Launch and business model On November 17, 2020, Amazon launched Amazon …

Untuk kegunaan lain, lihat Miracle in Cell No. 7. Miracle in Cell No. 7SutradaraMehmet Ada ÖztekinProduserSinan TuranSaner AyarSkenarioÖzge EfendioğluKubilay TatBerdasarkanMiracle in Cell No. 7 (2013)oleh Lee Hwan-kyungPemeranAras Bulut İynemli Nisa AksongurDeniz Baysalİlker AksumPenata musikHasan ÖzsütIşıl ÖzsütPerusahaanproduksiMotion Content GroupLanistar MedyaDistributorCJ Entertainment TurkeyTanggal rilis 11 Oktober 2019 (2019-10-11) Durasi132 menitNegaraTurkiBahasaTur…

Questa voce sull'argomento tettonica è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Estensione della placca adriatrica.Il nome della placca adriatica è di solito utilizzato quando si fa riferimento alla parte settentrionale della placca africana. La pressione verso nord esercitata dalla placca ha determinato il sollevamento dell'arco alpino. Il limite occidentale della placca adriatica, si sposta attualmente di circa 40 mm all'anno verso est comportando…

German racing driver (1911–1996) This article is written like a personal reflection, personal essay, or argumentative essay that states a Wikipedia editor's personal feelings or presents an original argument about a topic. Please help improve it by rewriting it in an encyclopedic style. (August 2016) (Learn how and when to remove this message) Fritz Huschke von HansteinHuschke von Hanstein, 1963NationalityGermanBornFritz Sittig Enno Werner von Hanstein(1911-01-03)3 January 1911HalleDied5 March…

Politics of Zambia Constitution Human rights Government President Hakainde Hichilema Vice-President Mutale Nalumango Cabinet Legislature National Assembly Speaker: Nelly Mutti Constituencies Judiciary Constitutional Court President: Mulela Margaret Munalula Supreme Court Chief Justice: Mumba Malila Elections General 1964 1968 1973 1978 1983 1988 1991 1996 2001 2006 2011 2016 2021 Presidential 2008 2015 Referendums 1969 2016 Political parties By-elections Administrative divisions Provinces Distri…

American vegan chef Chloe CoscarelliChloe Coscarelli in 2012BornChloe Kay Coscarelli[1] (1987-10-14) October 14, 1987 (age 36)[2][3]Los Angeles, California, U.S.Occupation(s)Vegan chef, authorYears active2009–presentWebsitewww.chefchloe.com Chloe Kay Coscarelli (born October 14, 1987) is a vegan chef and author. Early life and education Chloe Kay Coscarelli is the daughter of filmmaker Don Coscarelli.[4] She is a graduate of UC Berkeley,[5] whe…

Ceratizit Challenge by La Vuelta 2022 GénéralitésCourse8e La Vuelta FemeninaCompétitionUCI World Tour féminin 2022 2.WWTÉtapes5Dates7 – 11 septembre 2022Distance478,3 kmPays EspagneLieu de départMarina de CudeyoLieu d'arrivéeMadridÉquipes22Partantes131Arrivantes106Vitesse moyenne38,69 km/hSite officielSite officielRésultatsVainqueur Annemiek van Vleuten (Movistar Team)Deuxième Elisa Longo Borghini (Trek-Segafredo)Troisième Demi Vollering (SD Worx)Classement par points Silvia Persic…

Questa voce sull'argomento calciatori giapponesi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Misao Tamai玉井 操Nazionalità Giappone Calcio RuoloAttaccante CarrieraSquadre di club1  Waseda WMW Nazionale 1927 Giappone2 (1) 1 I due numeri indicano le presenze e le reti segnate, per le sole partite di campionato.Il simbolo → indica un trasferimento in prestito.   Modifica dati su Wikid…