Method for extracting a homomorphic encrypted element from a homomorphic encrypted list and method for inserting a homomorphic encrypted element into a homomorphic encrypted list
The method addresses the limitations of existing homomorphic cryptography by enabling efficient extraction and insertion of elements within homomorphic encrypted lists through polynomial and monomial manipulations, allowing for complex operations without decryption, thus enhancing the handling of homomorphic encrypted data.
Patent Information
- Application Number
- PCT/EP2024/067453
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-21
- Filing Date
- 2024-06-21
- Publication Date
- 2024-12-26
AI Technical Summary
Current homomorphic cryptography methods are inadequate for complex operations on homomorphic encrypted lists, such as extracting or modifying elements, due to a lack of guidance on manipulating entire lists rather than individual elements, and require efficient, reliable, and inexpensive computational resources.
A method for extracting a homomorphic encrypted element from a homomorphic encrypted list by constructing a polynomial aggregation of list elements and a monomial representing the index, using homomorphic modular products to identify and extract the desired element without decryption, and a method for inserting a homomorphic encrypted element into a list by calculating differences and additions within the encrypted space.
Enables efficient and reliable extraction and modification of elements from homomorphic encrypted lists without decryption, simplifying operations through the use of polynomial and monomial representations and modular products, facilitating complex manipulations within the encrypted space.
Smart Images

Figure EP2024067453_26122024_PF_FP_ABST
Abstract
Description
[0001]DESCRIPTION TITLE: Method for extracting a homomorphic encrypted element from a homomorphic encrypted list and method for inserting a homomorphic encrypted element into a homomorphic encrypted list TECHNICAL FIELD The technical field is that of homomorphic cryptography methods, devices and systems. More particularly, the field of the invention is that of the manipulation of homomorphic encrypted lists. TECHNOLOGICAL BACKGROUND Homomorphic cryptography, which allows calculations or data processing to be performed on encrypted data, without first decrypting them, has attracted a lot of attention recently. Indeed, the digital processing of personal data has become ubiquitous in our daily lives.Protecting the confidentiality of this data, and the privacy of the individuals concerned, has therefore become critical, as this personal data tends to circulate more and more in the digital systems environments that we use every day. In this context, homomorphic encryption and processing techniques appear to be a very promising solution, as they allow data to be processed while preserving the anonymity and privacy of this data in a particularly secure manner, as the latter are not decrypted during processing. Homomorphic cryptography can be based on the so-called "learning with errors" (LWE) encryption scheme, in which the encrypted message. is derived from the unencrypted message µ according to the following formula: b=µ+e+as, where: s is a secret key, a is a randomly chosen vector, to project the secret key s, and e is a random noise component, added to µ+as To decrypt the message, a person with the secret key s can calculate the quantity ba.s (equal to µ+e), then round the result to remove the noise component e and recover the message µ. Of course, the noise term e must be and remain sufficiently small if we want to be able to recover the message µ.Homomorphic cryptography methods therefore respond, among other things, to the technical challenge of allowing: - an external, generally remote, service and processing server to perform "blind" operations on encrypted data, without decrypting them, this server not having the key necessary to decrypt the data, - the encrypted data being provided by another, distinct entity (a client, in the IT sense), which has the encryption key. These data processing operations may consist of performing individual operations, data by data, to format or filter them for example. They may also concern operations of comparison between data, sorting or grouping. The manipulation of homomorphic encrypted elements can be complex and requires the development of methods allowing mathematical operations to be carried out in the space of the ciphers.Among the known methods, also called cryptographic primitives, we can cite the following techniques (the symbols bra and ket ^... ^ indicate a homomorphic cipher of the quantity between the symbols): Homomorphic addition: if ^. ^ ^ ^ ^ ^ ^ and ^ ^ ^ ^ ^ ^ ^ are two homomorphic ciphers of two elements and ^ ^ belonging to the torus T, it is possible to obtain the sum of the ciphers using homomorphic addition ^ ^ ⊕ ^ ^ = ^ ^ ^ ^ ^ ^ ^ Homomorphic subtraction: if ^ ^ ^ ^ ^ ^ ^ and ^ ^ ^ ^ ^ ^ ^ are two homomorphic ciphers of two elements and ^ ^ belonging to the torus T, it is possible to obtain the difference of the ciphers using homomorphic subtraction ^ ^ ⊖ ^ ^ = ^ ^ ^ ^ ^ ^ ^ Homomorphic addition of polynomials: if ^ ^ ^ ^ ^ ^^^^ ^ and ^ ^ ^ ^ ^ ^ ^^^ ^ are two homomorphic ciphers of two elements and ^ ^ belonging to the ring of polynomials of degree N, ^ ^ ^^^ ^ ^^^^ / ^^ ^ ^ ^^, it is possible to obtain the sum polynomial in the space of ciphers using the homomorphic addition of the polynomials ^ ^ ⊕ ^ ^ = ^ ^ ^ ^^^ ^ ^ ^ ^^^ ^ Homomorphic subtraction of polynomials: if ^ ^ ^ ^ ^ and ^ ^ ^ ^ ^ ^ ^^^ ^ are two homomorphic ciphers of two elements and ^ ^ belonging to the ring of polynomials of degree N, ^ ^ ^^^ ^ ^^^^ / ^^ ^ ^ ^^, with for example N a power of 2, it is possible to obtain the difference polynomial in the space of ciphers using the homomorphic subtraction of the polynomials: ^ ^ ⊝ ^ ^ = ^ ^ ^ ^^^ ^ ^ ^^^^ ^ Homomorphic modular product: If C ^ ^ ^^^^ ^ and c ^ ^ ^^^^ ^ are two homomorphic ciphers of two elements ^^^^ and ^^^^ belonging to the ring of polynomials of degree N, ^ ^ ^^^ ^ ^^^^ / ^^ ^^ ^^, it is possible to obtain the product polynomial in the ciphertext space using the homomorphic modular product: ! ⊡ ^ ^ ^ ^^^^ ⋅ ^^^^ ^ These cryptographic primitives therefore allow several mathematical operations to be performed in the homomorphic ciphertext space, by reproducing the standard mathematical operations performed in the plaintext space. However, homomorphic cryptography has been very little applied to the manipulation of ciphertext lists or sets. Some methods for homomorphic encryption of list elements have recently been proposed, for example in the article "Faster Amortized FHEW bootstrapping using Ring" by G. De Micheli et al., https: / / eprint.iacr.org / 2023 / 112, 2023). However, these techniques focus on the homomorphic encryption of individual elements of a list, without giving indications concerning, for example, complete manipulations of homomorphic lists.There is therefore a need to develop techniques for performing complex operations on homomorphic encrypted lists, for example by extracting a homomorphic encrypted element from a homomorphic encrypted list or by modifying a homomorphic encrypted list by deleting or adding a homomorphic encrypted element. Furthermore, it is necessary to develop methods for manipulating homomorphic encrypted lists that are reliable, fast and inexpensive in terms of computing resources. SUMMARY OF THE INVENTION To at least partially solve the problems mentioned above, a first aspect of the invention relates to a method for extracting a homomorphic encrypted element ^ $. % ^, of a homomorphic encrypted list ^ $ ^, the homomorphic encrypted element ^ $ %^ being associated with an index &, & being between 0 and N-1, the elements of the list $ belonging to a torus T, the list $ and the index & being encrypted using the same key, said method comprising the following steps: - Obtain a homomorphic cipher ^ Q^X^ ^ of a polynomial Q(X), Q(X) being an aggregation of the elements $ ) from the list $ , j being between 0 and N- 1, each coefficient of the polynomial Q^X^ being a linear combination of elements from the list $, Q^X^ belonging to a quotient space ^^^^ / * + ^^^, ^^^^ being a space of polynomials of degree N-1 with coefficients with values in the torus T and * + ^^^ being a cyclotomic polynomial of order M; - Obtain a homomorphic cipher ^ P^X^ ^ of a monomial P^X^ ^ ^-, . being a function of the index & associated with the element ^ $ % ^ to obtain, P^X^ belonging to a quotient space / ^^^ / * +^^^, / ^^^ being a set of polynomials with coefficients in the integers; - Determine a homomorphic encrypted polynomial ^ C^X^ ^ as a homomorphic modular product between ^ P^X^ ^ and ^ Q^X^ ^; - Extract the coefficient k of the homomorphic encrypted polynomial ^ C^X^ ^ , k being determined on the basis of the polynomial Q(X) and the function . used in the monomial P(X), the coefficient k of the homomorphic encrypted polynomial ^ C^X^ ^ corresponding to the homomorphic encrypted element ^ $ %^ to obtain. The symbols bra and ket ^... ^ indicate a homomorphic ciphertext of a quantity. For example, the symbol ^ & ^ indicates a homomorphic ciphertext of an integer &. By homomorphic modular product, also indicated by the symbol ⊡, is meant an operation between two homomorphic ciphertexts, ^ A ^ and ^ B ^ , such that ^ A ^ ⊡ ^ B ^ = ^ AB ^ . In other words, the homomorphic modular product ⊡ reproduces, in the space of ciphertexts, the result of a product of two plaintext elements. By homomorphic ciphertext of ^- , is meant a homomorphic ciphertext of the quantity ^ ^- 234 +^ , . ^567 being between 0 and M-1. By cyclotomic polynomial of order M, it is understood, in a known manner, the unitary polynomial whose complex roots are exactly the M-th primitive roots of unity. The order M is defined by M = t αwith t any prime and α any integer. By aggregation, or "packing" according to English terminology, is meant a representation of the list L in the form of a polynomial. In the case of the method according to one aspect of the invention, each coefficient of the polynomial Q(X) representing the list L comprises a linear combination of elements of the list L. Each linear combination may comprise one or more elements of the list L. The method according to the first aspect of the invention is a general method for extracting a homomorphic encrypted element from a homomorphic encrypted list from the homomorphic cipher ^ 8 ^^^ ^ of the index & corresponding to the element of interest ^ $ %^. The extraction of the homomorphic encrypted element is carried out in a completely homomorphic manner, i.e. without the need to decrypt the elements of the list or the index. In other words, the method according to the first aspect of the invention performs a homomorphic extractor type function, or "homomorphic getter" according to English terminology. It is important to note that the method according to the first aspect of the invention is a general method that can be implemented for any list of elements belonging to the torus T and indexed according to an integer &. The extraction method according to one aspect of the invention therefore makes it possible to extract a homomorphic encrypted element from a homomorphic encrypted list without the need to decrypt the element or the list. This is possible thanks to the prior preparation of the polynomial Q(x) as an aggregation of elements of the list L and the monomial P(X) representing the index i corresponding to the element to be extracted.In other words, the encrypted polynomial ^ 9 ^^^ ^ is an encrypted representation of the list L and the encrypted monomial ^ 8 ^^^ ^ is an encrypted representation of the index i. It is important to note that ^ 9 ^^^ ^ and ^ 8 ^^^ ^ can be obtained homomorphically from the encrypted elements of the list ^ $ ^ and the encrypted index ^ & ^ without the need for prior decryption. Indeed, one of the advantages of the method according to the first aspect of the invention is to be able to extract an encrypted element from the encrypted list without the need for decryption of the list or the index associated with the element to be extracted. The produced polynomial ^ C^X^ ^ then contains the encrypted element to be extracted in the form of its k-th coefficient. The coefficient k is determined from the aggregation used to obtain the polynomial Q and the function γ used in the monomial P(X).In other words, the prior construction of P(X) and Q(X) uniquely identifies the coefficient k of ^ C^X^ ^ containing the element of the homomorphic encrypted list to be extracted. The inventors have therefore developed a technique for extracting an element of a homomorphic encrypted list which is both simple and quick to implement and which is based on the prior preparation of the aggregation Q(X) and the monomial P(X) representing respectively the list L and the index i associated with the homomorphic encrypted element to be extracted from the list. In one or more embodiments: - each coefficient of the polynomial Q(X) is a linear combination obtained according to the following formula $. : ; < ^ $ < = >? ) = >? with 0 DEDF ^ 2, 0 DHD + I ^ 1, and - the coefficient of the polynomial ^ C^X^ ^ corresponding to the homomorphic encrypted element ^ $ %^ to be extracted is the coefficient k = 0, γ being equal to 7 ^ &. This construction of the polynomial Q(X) makes it possible to position the element of the list to be extracted in correspondence with the coefficient k = 0 of the product polynomial ^ C^X^ ^ . Furthermore, this choice for the coefficients of the polynomial Q(X) makes it possible to efficiently extract the homomorphic cipher of the desired element of the list for a wide range of values of the parameters t, M and γ. Indeed, the inventors have succeeded in finding constructions of the polynomial Q(X) and the monomial P(X) which are particularly suitable for the extraction of the element ^ $ % ^. Such constructions are not obvious to those skilled in the art, especially since if the aggregation Q(X) and the polynomial P(X) are not opportunely chosen, there is a high probability of coming across a linear combination of elements of the list ^ $ ^ and not the element of interest ^ $ %^. In one or more embodiments, the extraction method according to the first aspect of the invention may further comprise a step of receiving the index ^ & ^ and the list ^ $ ^, ^ 9^^^ ^ and ^ 8^^^ ^ being obtained from the ciphers ^ & ^ and ^ $ ^. In one or more embodiments: - The homomorphic ciphered polynomial ^ 9 ^ is obtained from the list $ comprising the elements $ ) , K being an integer between 0 and L ^ 1, the homomorphic ciphered polynomial ^ 9 ^ being in the form of a homomorphic ciphered of , P^K^ being a function with values in the set of integers between 0 and N-1 and M = 2 α ; - The homomorphic ciphertext monomial ^ 8 ^ is obtained from the index &, ^ 8 ^ being in the form of a homomorphic ciphertext of ^ OQ^%^ , R^&^ being a function with values in the set of integers between 0 and N-1; - The homomorphic encrypted polynomial ^ !^^^ ^ is obtained according to the formula ^ - The coefficient k of the polynomial ^ !^^^ ^ to be extracted is given by S ^ P^&^ ^ By homomorphic cipher of , it is understood as a homomorphic cipher of the quantity This embodiment illustrates an example of cooperation between the aggregation of elements of the list in the form of a polynomial Q(X) and the encryption of the monomial P(X). This is possible due to the fact that the elements of the list are encrypted as coefficients of a polynomial of degree N-1, the list being a homomorphic cipher of ∑ N ) A O^ B $ ) ^ M^)^. In this case the coefficients of the polynomial Q(X) are simply the elements of the list L (the linear combinations each include a single element). The function P^K^ is a function of the integer j with values in the integers between 0 and N-1. The function P is for example a function of type P^K^ ^ ^ K ^ T^ ^56 L, with T an integer. Another example of a function is P^K^ ^ ^T ∗ K^ ^56 L with T odd. Furthermore, the index i is the homomorphic cipher of The function R^&^ is a function from the integer i to values in the integers between 0 and N- 1. The function is for example a function of type R^&^ ^ ^ K ^ T^ ^56 L, with T an integer. Another example of a function is R ^ ^K^ ^ ^T ∗ K^ ^56 L with T odd. By combining these two homomorphic encryption techniques, the inventors discovered that it is possible to extract the sought element by calculating the homomorphic modular product Advantageously, this homomorphic modular product results in a rotation of the coefficients of the starting polynomial Q(X). The coefficient of interest, namely the element of the list to be extracted, then becomes the coefficient of order P^&^ ^ R^&^ of the polynomial determined using the homomorphic modular product. It is therefore possible to extract the element of the homomorphic encrypted list by calculating the coefficient of order P^&^ ^ R^&^ of the polynomial ^ B. According to one or more embodiments, the functions P^&^ and R^&^ are chosen as being the identity function, namely P^&^ ^ & and R^&^ ^ &. The coefficient to be extracted is then simply the zeroth order coefficient of the polynomial ^ !^^^ ^. The extraction of a coefficient of a given order from an encrypted polynomial is a known primitive in homomorphic cryptography. Moreover, the extraction of the zeroth coefficient from a homomorphic cipher of a polynomial is particularly simple to implement. Having associated on the one hand the encryption of the elements of the list as coefficients of a polynomial of degree N-1 and on the other hand the encryption of the exponent i as the exponent of a monomial is far from obvious. The combination of these features has never been used in homomorphic cryptography and allows to obtain a general method for extracting a homomorphic encrypted element from a homomorphic encrypted list.Advantageously, the use of these two different homomorphic ciphers for the elements of the list and the index makes it possible to simplify the extraction of the sought element, which can be carried out as a calculation of the zero coefficient of a polynomial obtained by homomorphic modular product. The extraction of an element from a homomorphic encrypted list using the method according to the first aspect of the invention is therefore general, reliable and fast. According to an embodiment of the method according to the first aspect of the invention: - The homomorphic encrypted polynomial ^ 9^^^ ^ is obtained according to the following formula. - The homomorphic encrypted monomial ^ 8 ^ is determined according to the following formula Definition of TLWE encryption TLWE encryption, "Torus Learning with Errors" in English terminology, means a known method of homomorphic encryption of an element t belonging to the torus T. The ciphertext V$XY^F^ is determined according to the following formula: V$XY^F^ ^ ^^^ , ^ ^ ... ^ \ , ^ ^ The vector s is the encryption key, the vector a is a projection vector of the key s, or mask, and the quantity e is random noise. Definition of TRLWE encryption By TRLWE encryption, "Torus Ring Learning With Errors" according to English terminology, we mean a known method of homomorphic encryption of a polynomial ^ belonging to the ring of polynomials V _ ^^^ ^ V^^^ / !^^^, where C is a cyclotomic polynomial and for example !^^^ ^ ^ N ^ 1 with N being a power of 2. Here we mean by ring of polynomials the space of polynomials of degree N with coefficients in the torus T.. The encryption key s and its projection vector a are vectors belonging to the set ^[ N ^^^^ \ . The cipher VW$XY^^^ is determined according to the following formula: VW$XY^^^ ^ ^^ ^ ^^^, ^ ^ ^^^... ^ \ ^^^, ^^^^ ^ The polynomial ]^^^ is a polynomial of the same degree as ^ ^^^ whose coefficients represent the random noise added to the ciphertext of the message ^ ^^^. For example, the coefficients of e(X) can have a Gaussian distribution centered around zero with a variance σ 2 . Definition of TRGSW encryption TRGSW encryption, “Gentry, Sahai, Waters Torus Ring encryption” in English terminology, means a known method of homomorphic encryption of a polynomial m(X) belonging to the ring of polynomials `^^^ / Φ + ^^^ with a key s, s being a vector belonging to the set ^ `^^^ ^b . The TRGSW cipher of m is then determined as follows: VWZ[X^^^ ^ ` ^ ^c with f ^ Z ^ e ⋮ h, where zj, j=1…l(K+1), are l(K+1) encrypted version of 0, the value f ?^b>^^ null 0 being encrypted with s', l being a given positive integer; and c iis a matrix whose dimension is ^j ^ 1^ k ^j ^ 1^ k H and whose coefficients belong to the torus T, H i ? being equal to: B being an integer greater than or equal to 2. Definition of homomorphic modular product ⊡ between a TRGSW and a TRLWE We understand by homomorphic modular product ⊡ an operation between two homomorphic ciphertexts, ^ A ^ and ^ B ^ , such that ^ A ^ ⊡ ^ B ^ = ^ AB ^ . In other words, the homomorphic modular product ⊡ reproduces, in the ciphertext space, the result of a product between plaintext elements. The method of calculating the homomorphic modular product ⊡ depends on the properties of the ciphertext elements to be multiplied. For example, in the case of a product between C ^ VWZ[X^^^ and c ^ VW$XY^^^ we obtain: ! ⊡ ^ ^ VW$XY ^^ ⋅ ^^ The advantage of this embodiment is that the calculation of the homomorphic modular product ^ B ^ ^ & ^ ⊡^ $ ^ ^ ^ ^ OQ^%^$ ^ can be achieved in a known manner, using the technique for the product of an encrypted quantity TRLWE and an encrypted quantity TRGSW. The polynomial produced is then a TRLWE cipher whose zeroth order coefficient is the element of the list to be extracted. Another aspect of the invention relates to a computer program comprising instructions executable by a processor and designed to implement a method according to the first aspect of the invention when these instructions are executed by said processor. A second aspect of the invention relates to a method for inserting a homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ so as to obtain a modified homomorphic encrypted list ^ $′ ^, in which: - The homomorphic encrypted element ^ µ ^ is obtained by homomorphic encryption of a plaintext element µ belonging to a torus T; - The homomorphic encrypted list ^ $ ^ is obtained from a plaintext list $ comprising the elements $ ), K being an integer between 0 and L ^ 1, N being an integer greater than or equal to 1, the elements $ ) belonging to the torus T, the homomorphic encrypted list ^ $ ^ being in the form of a homomorphic ciphertext - The modified homomorphic ciphertext ^ $′ ^ is a homomorphic ciphertext of a plaintext list $' comprising the elements $ ) p ^ $ ) for K ^ &, & being an integer between 0 and N-1; Said method comprising the following steps: - Receiving the homomorphic encrypted element ^ µ ^, the homomorphic encrypted list ^ $ ^ and a homomorphic cipher ^ & ^ in the form of a homomorphic cipher of ^ µ ^, ^ $ ^ and ^ & ^ being encrypted using the same key s; - Extract, in accordance with the method according to the first aspect of the invention, the element 6 B ^ ^ $ % ^ of the homomorphic encrypted list ^ $ ^ ; - Homomorphically calculate the difference 6 ^ ^^ µ ^ ⊝ 6 B ^ ^ µ ^ $% ^ ; - Obtain a homomorphic cipher of the quantity ^^µ ^ ; - Obtain the modified homomorphic encrypted list ^ $′ ^ by computing homomorphically The operations homomorphic subtraction, denoted by the symbol ⊝, and homomorphic addition, denoted by the symbol ⊕, are known cryptographic primitives. In the case of the difference ^ µ ^ ⊝ 6 B ^ ^ µ ^ $ % ^, the symbol ⊝ indicates the difference between two elements belonging to the torus T. In the case of the sum the symbol ⊕ indicates the sum between two polynomials whose coefficients have a value in the torus T or in the space ^^^^ / * +^^^. The method according to the second aspect of the invention makes it possible to introduce a homomorphic ciphertext ^ µ ^ into a homomorphic ciphertext list ^ $ ^. This method, in combination with the method according to the first aspect of the invention, provides a complete technique for manipulating homomorphic ciphertext lists. In other words, thanks to the methods according to the first and second aspects of the invention, reading a list, namely extracting one of its elements, as well as modifying it, namely replacing one of its elements, are possible. In one or more embodiments of the method according to the second aspect of the invention, the step of extracting the element 6 B ^ ^ $ %^ of the homomorphic encrypted list ^ $ ^ is performed using the method according to the first aspect of the invention. In one or more embodiments of the method according to the second aspect of the invention: - The homomorphic encrypted list is a homomorphic cipher calculated according to the formula - The homomorphic cipher element ^ µ ^ is calculated according to the formula V$XY^µ^; - The homomorphic cipher ^ & ^ is calculated according to the formula VWZ In one or more embodiments of the method according to the fourth aspect of the invention, the step of obtaining a homomorphic cipher of the quantity ^^µ ^ includes: - Calculate a homomorphic cipher of the quantity µ ^ $ % as a homomorphic difference between a homomorphic cipher element ^ µ ^ of µ and a homomorphic cipher element ^ $ % ^ of the $ element % from the list $ in order to determine the quantity - Calculate the homomorphic modular product ^ & ^ ⊡ ^ µ ^ $ %^ to determine the quantity - Obtain, from the quantity VW$XY^^µ ^ $ % ^^ OQ^%^ ^, a homomorphic cipher of the quantity ^^µ ^ in the form of VW$XY^^µ ^ $ % ^^ M^%^ ^. If the function R^&^ is of the type R^&^ ^ r ∗ & and R^&^ ^ r′ ∗ & , r and r′ being prime with M, the step of obtaining the quantity VW$XY^^µ ^ $ % ^^ M^%^^ is performed by applying an automorphism. In one or more embodiments of the insertion method according to the second aspect of the invention, the functions P^&^ and R^&^ are the identity function so as to have P^&^ ^ & and R^&^ ^ &. Another aspect of the invention relates to a computer program comprising instructions executable by a processor and designed to implement a method according to the second aspect of the invention when these instructions are executed by said processor. A third aspect of the invention comprises a cryptographic processing server for processing a homomorphic encrypted list comprising a communication module and a calculation module: - The communication module being configured to receive, from an entity external to the server, a homomorphic encrypted index ^ & ^ or ^ 8 ^; - The calculation module being configured to extract, from a homomorphic encrypted list ^ $ ^, a homomorphic encrypted element ^ $ %^ associated with the homomorphic encrypted index ^ & ^ or ^ 8 ^, in accordance with the method according to the first aspect of the invention. According to one embodiment, the calculation module of the processing server according to the first aspect of the invention determines the homomorphic modular product ^ & ^ ⊡^ $ ^ ^ ^ ^ OQ^%^$ ^ and extract it opportunely chosen so as to obtain an encrypted version of the element of the list sought. According to one embodiment, the communication module is further configured to receive, from an entity external to the server, a homomorphic encrypted element ^ µ ^. According to one embodiment, the calculation module is programmed to introduce the homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ in accordance with the method according to the second aspect of the invention. A fourth aspect of the invention relates to a client configured to encrypt the index & in the form of a homomorphic encrypted index ^ & ^ or ^ 8 ^ and / or the message µ in the form of a homomorphic encrypted message ^ µ ^ and to communicate the homomorphic encrypted index ^ & ^ or ^ 8 ^ and / or the homomorphic encrypted message ^ µ ^ to the server according to the third aspect of the invention via a communication channel. The encrypted index ^ & ^ is for example in the form of an encrypted monomial ^ 9^^^ ^.A fifth aspect of the invention relates to a cryptographic system comprising: - A cryptographic processing server according to the third aspect of the invention; - A client according to the fourth aspect of the invention. Thanks to the cryptographic system according to the fifth aspect of the invention, the cryptographic processing server only receives homomorphic encrypted quantities and extracts an element from the list without needing to perform decryption. The present technology and its various applications will be better understood upon reading the following description and examining the accompanying figures. BRIEF DESCRIPTION OF THE FIGURES The figures are presented for information purposes only and are in no way limiting. Figure 1 illustrates a flowchart of an embodiment of the method for extracting a homomorphic encrypted element from a homomorphic encrypted list according to the first aspect of the invention.Figure 2a schematically illustrates the aggregation of a list according to an embodiment of the first aspect of the invention. Figure 2b schematically illustrates the extraction of a homomorphic encrypted element from a homomorphic encrypted list according to an embodiment of the first aspect of the invention. Figure 3 illustrates a flowchart of an embodiment of the method for inserting a homomorphic encrypted element into a homomorphic encrypted list according to the second aspect of the invention. Figure 4a schematically illustrates certain steps of an embodiment of the method according to the second aspect of the invention. Figure 4b schematically illustrates the insertion of a homomorphic encrypted element into a homomorphic encrypted list according to an embodiment of the method according to the second aspect of the invention. Figure 5 illustrates an embodiment of a cryptographic system for processing a homomorphic encrypted list according to an aspect of the invention.DETAILED DESCRIPTION Figure 1 [Fig.1] schematically represents an embodiment of the method 100 for extracting a homomorphic encrypted element ^ $. % ^ of a homomorphic encrypted list ^ $ ^. The method 100 according to the embodiment illustrated in FIG. 1 comprises a step 101 of obtaining a homomorphic encrypted list ^ Q^X^ ^ of a polynomial Q(X). The polynomial Q(X) belongs to the set ^ ^ ^ ^ / * + ^ ^ ^ . ^ ^ ^ ^ is a space of polynomials of degree N-1 with coefficients with values in the torus T. * + ^^^ is a cyclotomic polynomial of order M and degree N. Each coefficient of the polynomial Q(X) is a linear combination of elements of the list L. The method 100 as illustrated in Figure 1 further comprises a step 102 of obtaining a homomorphic cipher ^ P^X^ ^ of a monomial P^X^ ^ ^-, . being a function of the index & associated with the element ^ $ %^ to obtain. The monomial P(X) belongs to / ^^^ / * + ^^^, / ^^^ being a set of polynomials with coefficients in the integers. In step 103, the homomorphic encrypted polynomial ^ C^X^ ^ is determined as a homomorphic modular product between ^ P^X^ ^ and ^ Q^X^ ^. The extraction step 104 of the coefficient k of ^ C^X^ ^ makes it possible to obtain the element ^ $ % ^ to be extracted from the list ^ $ ^. The homomorphic encrypted monomial ^ 8^^^ ^ is obtained from a plaintext index &, & being an integer between 0 and L ^ 1. According to one embodiment, the homomorphic encrypted monomial ^ 8^^^ ^ is obtained as a homomorphic cipher of the quantity ^ OQ^%^ . According to one embodiment, the homomorphic encrypted polynomial ^ 9 ^ is obtained from the plaintext list $ comprising the elements $ ) , K being an integer between 0 and L ^ 1. The elements $ )belong to the torus T. In this embodiment the homomorphic encrypted polynomial ^ 9 ^ is obtained as a homomorphic encrypted of the quantity ∑ N ) A O^ B $ ) ^ M^)^ . In other words, the elements of the plaintext list are encoded as coefficients of a polynomial which is then homomorphically encrypted. In this embodiment, the homomorphic modular product calculated in step 103 is calculated according to the following formula !^^^ ^ ^ 8 ^ ⊡^ 9 ^. The quantity !^^^ is a polynomial of degree N with coefficients with values in the torus T. It is therefore possible to obtain a homomorphic cipher of the element $ % , namely ^ $ % ^ , during a step 104 of extraction of the order coefficient P^&^ ^ of the polynomial !^^^. Figures 2a and 2b illustrate in more detail certain steps of an embodiment of the method 100 according to the first aspect of the invention. According to the embodiment illustrated in Figure 2a, the plaintext list $ is a sorted set of elements $ ) , j being between 0 and N-1. In this case, the element $ % boxed corresponds to the element that we want to extract from the list. The homomorphic encrypted polynomial ^ 9 ^ is obtained as: The homomorphic cipher of the index ^ & ^ is obtained according to the formula ^ & ^ ^ VWZ[X^^ O% ^. In this case the function P^&^ is the identity function, P^&^ ^ &. The function R^&^ is also chosen to be equal to the identity function, R^&^ ^ &. Choosing a TRLWE cipher for the polynomial Q encoding the elements of the list and a TRGSW cipher for the monomial P encoding the index allows us to calculate the homomorphic modular product ^ P ^⊡^ Q ^ as: TRLWEuX O^ ∑^ ^ A O^ BL ^ X ^ v ^ TRLWE (L B X O^ + L ^ X O^>^ ^ … ^ ^ ^ X O^>^ + … As illustrated in Figure 2b, the interest term x y becomes, in the product polynomial C, the zero coefficient. It is therefore possible to extract a homomorphic ciphertext of the element of interest as the zero coefficient of the polynomial resulting from the homomorphic modular product. Figure 3 illustrates a flowchart of an embodiment of the method 400 for inserting a homomorphic ciphertext element ^ µ ^ into a homomorphic ciphertext list ^ $ ^ so as to obtain a modified homomorphic ciphertext list ^ $′ ^. The homomorphic ciphertext element ^ µ ^ is obtained by homomorphic ciphertext encryption of a plaintext element µ belonging to a torus T. The homomorphic ciphertext list ^ $ ^ is obtained from a plaintext list $ comprising the elements $ ), K being an integer between 0 and L ^ 1, N being an integer greater than or equal to 1. According to the example illustrated in Figure 3, the elements $ ) belong to the torus T and the homomorphic ciphertext ^ $ ^ is in the form of a homomorphic ciphertext of ∑ N ) A O^ B $ ) ^ M^)^ . The objective of the insertion method 400 is to obtain a new homomorphic encrypted list ^ $′ ^ which is the homomorphic ciphertext of a plaintext list $′. The plaintext list $′ is identical to the starting list $ except for the element $ p % which has been replaced by the element µ. To do this, the embodiment of the method 400 according to the second aspect of the invention comprises: - Receiving 401 the homomorphic encrypted element ^ µ ^, the homomorphic encrypted list ^ $ ^ and a homomorphic cipher ^ & ^ in the form of a homomorphic cipher of ^ µ ^, ^ $ ^ and ^ & ^ being encrypted using the same key s; - Extract, using the method 100 according to the first aspect of the invention, the element 6 B ^ ^ $ % ^ 402 of the homomorphic encrypted list ^ $ ^ ; - Compute 403 homomorphically the difference 6 ^ ^^ µ ^ ⊝ 6 B ^ ^ µ ^ $ % ^ ; - Obtain 404 a homomorphic cipher of the quantity ^^µ ^ ; - Obtain the modified homomorphic encrypted list ^ $′ ^ 405 by homomorphically calculating the sum ^ ^µ ^ $ % ^^ M^%^ ^ ⊕ ^ $ ^ . Step 402 of extracting element 6 B ^ ^ $ %^ of the homomorphic encrypted list ^ $ ^ therefore comprises the implementation of the method 100 according to the first aspect of the invention. Figure 4a illustrates in detail certain steps of an embodiment of the method 400 according to the fourth aspect of the invention, the functions P^&^ ]FR^&^ being in this case the identity functions. According to the embodiment illustrated in Figure 4a, the starting list ^ $ ^ is obtained from the plaintext list $ by calculating a homomorphic cipher of type The homomorphic encrypted element is calculated according to the formula V$XY^µ^ and the homomorphic encrypted index according to the formula VWZ[X^^ O% ^. These last two elements are not shown in Figure 4a. In the case illustrated in Figure 4a, the function P^&^ is chosen to be equal to P^&^ ^ &. This choice of encryption techniques makes it possible to calculate the homomorphic modular product ^ & ^⊡^ $ ^ as an encrypted form of a polynomial: TRLWEuX O^ ∑ ^ ^ A O^BL ^ X ^ v = TRLWE (L B X O^ + L ^ X O^>^ ^ … ^ ^ ^ X O^>^ + … The element x y to be replaced in the list L can for example be extracted as the zero coefficient of the homomorphic encrypted polynomial obtained by calculating the homomorphic modular product ^ & ^⊡^ $ ^. Step 405 of obtaining the homomorphic encrypted list ^ $′ ^ is carried out, according to the embodiment illustrated in Figure 4b, by calculating the homomorphic encrypted list VW$XY $ ^ which can be expressed as follows: The last equation shows that the element $ % has been replaced in the new homomorphic cipher by the element µ. According to this embodiment, step 405 comprises the conversion of V$XY^µ ^ $ % ^ in VW$XY^µ ^ $ % ^. Indeed µ and $ %belonging to the torus T, the homomorphic cipher of their difference is a TLWE type cipher. The conversion of a TLWE type cipher into a TRLWE type cipher is carried out using primitives known in homomorphic cryptography. It is important to note that during step 405 of the method 400 according to the second aspect of the invention, the quantity VW$XY ^ ^ µ ^ $ % ^ ^ M^%^ ^ must be evaluated, while the homomorphic cipher of the index is in the form of a homomorphic cipher of ^ OQ^%^ , VWZ[X^^ OQ^%^ ^. According to one embodiment of the method 400, the quantity VW$XY ^^µ ^ can then be obtained in the following way: - Calculate a homomorphic cipher of the quantity µ ^ $ % as a homomorphic difference between a homomorphic cipher element ^ µ ^ of µ and a homomorphic cipher element ^ $ % ^ of the $ element % from the list $ way to determine the quantity VW$XY^µ ^ $ %^ ; - Calculate the homomorphic modular product ^ & ^ ⊡ ^ µ ^ $ % ^ to determine the quantity - Obtain, from the quantity VW$XY ^ ^^µ ^ $ % ^^ OQ^%^ ^, the quantity ^^µ ^ $ % ^^ M^%^ ^ in the form of VW$XY ^ ^^µ ^ $ % ^^ M^%^ ^. If the function R^&^ is of the type R^&^ ^ r &, r being prime with M, M being the order of the cyclotomic polynomial, the step of obtaining the quantity VW$XY^^µ ^ $ % ^^ M^%^ ^ is performed by applying an automorphism. Here, automorphism is understood to mean a primitive known in homomorphic cryptography whose definition is as follows: If ^ ^ VW$XY^^^^^^ and u is a prime integer with N, the automorphism ^^F performs the following operation ^^F^^, ^) = VW$XY^^^^ ^^^. Figure 5 illustrates an embodiment of a cryptographic system 500 for manipulating a homomorphic encrypted list according to one aspect of the invention. The cryptographic system 500 comprises a cryptographic processing server for extracting a homomorphic encrypted element from a homomorphic encrypted list 501. The cryptographic server 501 comprises a communication module 502 and a calculation module 503. The calculation module 502 is configured to receive, from an entity external to the server, a homomorphic encrypted index ^ & ^. The calculation module 503 is configured to extract, from a homomorphic encrypted list, a homomorphic encrypted element ^ $ %^ associated with the homomorphic encrypted index ^ & ^ in accordance with the method 100 according to the first aspect of the invention. The cryptographic system 500 further comprises a client 504 configured to encrypt the index & in the form of a homomorphic encrypted index ^ & ^, for example in the form of a homomorphic encrypted monomial ^ 8 ^ and to communicate the homomorphic encrypted index ^ & ^ to the server via a communication channel 504c. According to one embodiment of the cryptographic system 500, the client 504 is configured to calculate the ciphertext of the index ^ & ^ in the form VWZ[X^^ OM^%^^ . According to one embodiment of the cryptographic system 500, the server 501 is configured to implement the method 400 of inserting a homomorphic encrypted element into a homomorphic encrypted list. The client 504 is then configured to encrypt the element µ so as to obtain a homomorphic encrypted element ^ µ ^. The client 504 is further configured to transmit the homomorphic encrypted element ^ µ ^ to the server 501 via a communication channel 504c. Description of the procedure for refreshing a homomorphic cipher When two encrypted messages are added together, an encrypted message is obtained, which is an encrypted version of the sum of the two initial unencrypted messages, the noise component of which is higher than for the two initial encrypted messages. So, to prevent the noise term from increasing and growing during data processing, a refreshing procedure, usually called "bootstrapping", is performed repeatedly.This procedure produces a refreshed version of c, i.e., an encrypted message c' which is also decrypted as µ (when decrypted using s), but whose noise component is smaller than that of c. The bootstrapping procedure usually includes a homomorphic evaluation of the quantity ^. M. ^^^^ with: ^^^^ is a functional refresh polynomial of degree less than or equal to N-1 whose coefficients are chosen according to the characteristics of the message space and a target function; and α is the closest integer to 2N(ba.s): ⌊2L^^ ^ ^. ^^⌉ Here, homomorphic evaluation means a calculation carried out using encrypted quantities, without prior decryption (without knowing the key s). Here, target function means a mathematical function applied to the encrypted message at the same time as the refresh. In the case of a simple refresh, the target function is the identity function. For a polynomial ^ ^ ^ ^ opportunely chosen, the constant term of ^ M . ^^^^^56^^ N ^ 1^, namely coef B uX M. v^X^v, is a refreshed version of c, that is, an encrypted version of µ with a limited noise component e' (usually smaller than the noise component of c, when c comes from previous – homomorphic – data processing operations; in any case, e' is small enough to allow decryption of c', with a low error rate). As is known, the homomorphic calculation of the quantity ^5]^ B u^ M . ^ 1 ^ can be decomposed into a calculation of a sequence of modular products given by: Where the sk are the n components of the vector s. In the above equation, when calculated homomorphically, each product “.” is a modular product: the term on the left, e.g. ^ O^^ Or , belongs to ℤ ^ ^X^ ^ ℤ^X^ / ^X N ^ 1^, the term on the right, for example ^^^^ or belongs to TN[X]. Here we define TN[X] = T[X] / (X N+1). Such a product is similar to the product y.µi, y being an integer and µ belonging to T (except that we work on polynomial fields, instead of number fields). The homomorphic calculation of ^5]^ B u^ M . ^^^^v is non-immediate because of the presence of the secret key s, which is not known. However, it is known that a modular product such as y.µi or X j .v(X) can be calculated homomorphically by defining the exterior product χ ^ ^^ ^ ^ ⊡ ^^ ^ ^^ ^ % ^ . The quantity ^^ ^ ^^ ^ % ^ ^ ^ %is the encrypted version of the message µi. The quantity is the “TRGSW” encryption of z (the acronym TRGSW comes from the English “Gentry, Sahai, Waters Torus Ring encryption”, adapted from an encryption method that was proposed in the article “Homomorphic encryption from learning with errors: Conceptually-simpler, asymptotically-faster, attribute-based”, by C. Gentry, A. Sahai, and B. Waters, InCrypto'13, 2013). Furthermore, in a known way, it is possible to calculate the product ^^ ^ ^µ^ without knowing the components sk, k = 1…n of the secret key and therefore without knowing the secret key s. Indeed, as the components sk, k = 1…n each belong to B={0,1} (ie: are each binary), the quantity ^ O^^ ^ is equal to ^ ^ O^^ ^ 1 ^ ^ \ ^1 which is encrypted as It follows that an encrypted version of ^ M . ^ ^ ^ ^ ^56 ^ ^ N ^ 1 ^can be calculated without access to the secret key s using the encrypted version χ ^ ^^ ^ \ ^ sk components. These encrypted versions of s components are sometimes called Boostsrap BK keys \ ^ χ ^ ^ ^^ \ ^ ("Bootstrap key" in English). Bootstrap keys (usually public) are encrypted versions of the components sk of the secret key s encrypted using another key s'. χ ^ ^ ^^^ is defined to be equal to Z ^ yH i ^ with: f ^ Z ^ e ⋮ h, where zj, j=1…l(K+1), are l(K+1) encrypted version of 0, the value f ?^b>^^ null 0 being encrypted with s', l being a given positive integer; and H i ^ is a matrix whose dimension is ^j ^ 1^ k ^j ^ 1^ k H and whose coefficients belong to the torus T, H i ? being equal to: B being an integer greater than or equal to 2. The exterior product ! ⊡ ^, between: - An encrypted message c ^ ^^ ^ ^^ µ ^ , ^ ∈ ¥ ¦>^ , corresponding to a message µ belonging to the torus TN[X] and - The encrypted version ! ^ χ ^ ^^ ^ ^ of a polynomial with integer coefficients y, ! ∈ is calculated according to the method detailed below. The K+1 components cj, j=1..K+1 of the encrypted message c ^ are somehow decomposed using a base B system (like the one used to calculate χ ^ ^ ) Then it is possible to calculate in which ∑ i,? ^^^! is the row-column matrix product and is a matrix of dimension (n+1)×l whose form is as follows: With The result ! ⊡ ^ belongs to ¥ ¦>^and is an encrypted version of y.µ. In other words, by decrypting this quantity with the key s' we find y.µ. This calculation method can be applied to any message belonging to the torus T. Using the keys BKi introduced above, we obtain for the homomorphic calculation of coef0(X α .v(X)), namely the following equation: The above equation therefore allows refreshing or bootstrapping the encrypted message without needing to know the encryption key.
Claims
CLAIMS
1. Method for obtaining (100) a homomorphic encrypted element ^ $ % ^ of a homomorphic encrypted list ^ $ ^, the homomorphic encrypted element ^ $ % ^ being associated with an index &, & being between 0 and N-1, the elements of the list $ belonging to a torus T, the list $ and the index & being encrypted using the same key, said method comprising the following steps: - Obtain a homomorphic cipher ^ Q^X^ ^ (101) of a polynomial Q(X), Q(X) being an aggregation of the elements $ ) from the list $ , j being between 0 and N-1, each coefficient of the polynomial Q^X^ being a linear combination of elements from the list $, Q^X^ belonging to a quotient space ^^^^ / * + ^^^, ^^^^ being a space of polynomials of degree N-1 with coefficients with values in the torus T and * +^^^ being a cyclotomic polynomial of order M; - Obtain a homomorphic cipher ^ P^X^ ^ (102) of a monomial P^X^ ^ ^-, . being a function of the index & associated with the element ^ $ % ^ to obtain, P^X^ belonging to a quotient space / ^^^ / * + ^^^, / ^^^ being a set of polynomials with coefficients in the integers; - Determine a homomorphic encrypted polynomial ^ C^X^ ^ (103) as a homomorphic modular product between ^ P^X^ ^ and ^ Q^X^ ^; - Extract the coefficient k (104) of the homomorphic encrypted polynomial ^ C^X^ ^, k being determined on the basis of the polynomial Q(X) and the function . used in the monomial P(X), the coefficient k of the homomorphic encrypted polynomial ^ C^X^ ^ corresponding to the homomorphic encrypted element ^ $ % ^ to obtain.
2. Method for obtaining (100) a homomorphic encrypted element ^ $ % ^ of a homomorphic encrypted list ^ $ ^ according to the preceding claim in which - each coefficient of the polynomial Q(X) is a linear combination obtained according to the following formula $ : ; ; < = >? ^ ∑ ) A B $ ) < = >? with 0 DEDF ^ 2, 0 DHD + I ^ 1, and - the coefficient of the polynomial ^ C^X^ ^ corresponding to the homomorphic encrypted element ^ $ % ^ to be extracted is the coefficient k = 0, γ being equal to 7 ^ &.
3. Method for obtaining (100) a homomorphic encrypted element ^ $ % ^ of a homomorphic encrypted list ^ $ ^ according to claim 1 in which: • The homomorphic encrypted polynomial ^ 9 ^ is obtained from the list $ comprising the elements $ ) , K being an integer between 0 and L ^ 1, the homomorphic ciphered polynomial ^ 9 ^ being in the form of a homomorphic ciphered of , P^K^ being a function with values in the set of integers between 0 and N-1 and and M = 2 α; • The homomorphic ciphertext monomial ^ 8 ^ is obtained from the index &, ^ 8 ^ being in the form of a homomorphic ciphertext of ^ OQ^%^ , R^&^ being a function with values in the set of integers between 0 and N-1; • The homomorphic encrypted polynomial ^ !^^^ ^ is obtained according to the formula • The coefficient k of the polynomial ^ !^^^ ^ to be extracted is given by S ^ P^&^ ^ R^&^.
4. Method according to the preceding claim in which: • The homomorphic encrypted polynomial ^ 9 ^ is determined according to the following formula ^ 9 ^ ^ VW$XY^∑ N ) A O^ B $ ) ^ M^)^ ^ ; • The homomorphic encrypted monomial ^ 8 ^ is determined according to the following formula
5. Method according to claim 3 or claim 4 in which the functions P^&^ and R^&^ are the identity function so as to have P^&^ ^ & and R^&^ ^ & and the coefficient k of the polynomial ^ ! ^ to be extracted is the coefficient k = 0.
6. Computer program comprising instructions executable by a processor and designed to implement a method according to any one of claims 1 to 5 when these instructions are executed by said processor.
7. Method of inserting (400) a homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ so as to obtain a modified homomorphic encrypted list ^ $′ ^, in which: - The homomorphic encrypted element ^ µ ^ is obtained by homomorphic encryption of a plaintext element µ belonging to a torus T; - The homomorphic encrypted list ^ $ ^ is obtained from a plaintext list $ comprising the elements $ ), K being an integer between 0 and L ^ 1, N being an integer greater than or equal to 1, the elements $ ) belonging to the torus T, the homomorphic encrypted list ^ $ ^ being in the form of a homomorphic cipher of ; - The modified homomorphic ciphertext ^ $′ ^ is a homomorphic ciphertext of a plaintext list $' comprising the elements $ ) p ^ $ ) for K for K ^ &, & being an integer between 0 and N-1; Said method comprising the following steps: • Receiving (401) the homomorphic encrypted element ^ µ ^, the homomorphic encrypted list ^ $ ^ and a homomorphic encrypted index ^ & ^ in the form of a homomorphic cipher of ^ µ ^, ^ $ ^ and ^ & ^ being encrypted using the same key s; • Extract, in accordance with the method according to any one of claims 1 to 5, element 6 B ^ ^ $ %^ (402) of the homomorphic encrypted list ^ $ ^ ; • Calculate homomorphically the difference 6 ^ ^^ µ ^ ⊝ 6 B ^ ^ µ ^ • Obtain (404) a homomorphic cipher of the quantity ^^µ ^ $ % ^^ M^%^ ^ ; • Obtain the modified homomorphic encrypted list ^ $′ ^ (405) by homomorphically calculating the sum ^ ^µ ^ $ % ^^ M^%^ ^ ⊕ ^ $ ^ .
8. Method for inserting (400) a homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ according to the preceding claim in which: • The homomorphic encrypted list is a homomorphic cipher calculated according to the formula • The homomorphic cipher element ^ µ ^ is calculated according to the formula V$XY^µ^; • The homomorphic cipher ^ & ^ is calculated according to the formula VWZ[X^^ OQ^%^^.
9. Method for inserting (400) a homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ according to the preceding claim in which the step (404) of obtaining a homomorphic cipher of the quantity ^^µ ^ comprises: • Calculating a homomorphic cipher of the quantity µ ^ $ % as a homomorphic difference between a homomorphic cipher element ^ µ ^ of µ and a homomorphic cipher element ^ $ % ^ of the $ element % from the list $ so as to determine the quantity formula VW$XY^µ ^ $ % ^ ; • Calculate the homomorphic modular product ^ & ^ ⊡ ^ µ ^ $ % ^ to determine the quantity VW$XY^^µ ^ $ % ^^ OQ^%^ ^ ; • Obtain, from the quantity VW$XY^^µ ^ $ % ^^ OQ^%^ ^, a homomorphic cipher of the quantity in the form of VW$XY^^µ ^ $ % ^^ M^%^^.
10. Method for inserting (400) a homomorphic encrypted element ^ µ ^ into a homomorphic encrypted list ^ $ ^ according to one of claims 7 to 9 in which the functions P^&^ and R^&^ are the identity function so as to have P^&^ ^ & and R^&^ ^ &.
11. Computer program comprising instructions executable by a processor and designed to implement a method according to any one of claims 7 to 10 when these instructions are executed by said processor.
12. Cryptographic processing server (501) for processing a homomorphic encrypted list comprising a communication module (502) and a calculation module (503): • The communication module (502) being configured to receive, from an entity external to the server, a homomorphic encrypted index; • The calculation module (503) being configured to extract, from a homomorphic encrypted list ^ $ ^, a homomorphic encrypted element ^ $ %^ associated with the homomorphic encrypted index, in accordance with the method according to one of claims 1 to 5.
13. Cryptographic processing server (501) for processing a homomorphic encrypted list according to the preceding claim in which: - The communication module (502) is further configured to receive a homomorphic encrypted element ^ µ ^; - the calculation module (503) is further configured to introduce the homomorphic encrypted element ^ µ ^ into an encrypted list homomorphic ^ $ ^ according to the method according to one of claims 7 to 10.
14. Client (504) configured to encrypt the index & in the form of homomorphic encrypted index ^ & ^ and / or an element µ in the form of homomorphic encrypted element ^ µ ^ and to communicate the homomorphic encrypted index ^ & ^ and / or the homomorphic encrypted element ^ µ ^ to a server (501) according to claim 7 or 8 via a communication channel (504c).
15. Cryptographic system (500) for processing a homomorphic encrypted list comprising: - A cryptographic processing server (501) for processing a homomorphic encrypted list according to claim 7 or claim 8; - A client (504) according to claim 9.
