A cryptographic pseudonym mapping method for an anonymous data sharing system, the method being adapted for generating pseudonymised data from entity data originating from data sources (DSi), wherein the data are identified at the data sources (DSi) by entity identifiers (D) of the respective entities, and wherein the pseudonymised data are identified by pseudonyms (P) assigned to the respective entity identifiers (D) applying a one-to-one mapping,
- characterised by applying, for a number n of data sources (DSi)
- more than one, a number k of mappers (Mj),
- with an algebraic group (G) having an order φ, and within that, a generator element (g) of the algebraic group (G) being predetermined with respect to the mappers (Mj) and data sources (DSi), and with a set (H) being also predetermined, said set (H) being a subset of integers being coprime to φ that forms an algebraic group with regard to modulo φ multiplication, furthermore, a mapping (h) assigning an integer value to each entity identifier (D) with respect to the mappers (Mj) and data sources (DSi) being also predetermined, and
- for each index j=1, 2, . . . , k:
- i. the actual mapper (Mj) selecting for itself, in a random manner, an integer xj and an integer αj,
- ii. the actual mapper (Mj) selecting an integer bj from the set (H) in a random manner,
- for each index j=1, 2, . . . , k the actual mapper (Mj) generating, cooperating with the other mappers (Mj), such a first ElGamal public key (Rj) that corresponds to the private key x1·x2· . . . ·xk, and storing the generated first ElGamal public key (Rj) by the actual mapper (Mj),
- for each index i=1, 2, . . . , n the actual data source (DSi) generating, in cooperation with the mappers (Mj), such a second ElGamal public key (Si) that corresponds to the private key x1·x2· . . . ·xk, and storing the generated second ElGamal public key (Si) by the actual data source (DSi),
- and,
- in the course of the pseudonymisation of an entity identifier (D) by a data source (DSi), the data source (DSi)
- i. calculating an ElGamal cipher (C1) applying one of the following two alternatives:
- C
- 1
- =
- ElGamalEnc
- S
- i
- (
- h
-
- (
- D
- )
- )
- or
- C
- 1
- =
- (
- E
- i
- )
- h
-
- (
- D
- )
- ,
- wherein, in the case of the first alternative, the range of the function h is a subset of the set (H), and in the case of the second alternative, for each index i=1, 2, . . . , n the actual data source (DSi) generates, in cooperation with the mappers (Mj), such an ElGamal cipher (Ei) of the value b1·b2· . . . ·bk that can be decrypted utilizing the ElGamal private key x1·x2· . . . ·xk:
- ElGamalResolve
-
- (
- ElGamalPartialDec
- x
- 1
- ·
- x
- 2
- ·
- ...
- ·
- x
- k
- (
- E
- i
- )
- )
- ≡
- b
- 1
- ·
- b
- 2
- ·
- ...
- ·
- b
- k
-
- mod
-
- φ
- ii. selecting a number π1 from the numbers 1, 2, . . . , k in a random manner, and
- iii. sending the ElGamal cipher (C1) to the mapper (Mπ1) that corresponds to the number π1,
- for each ElGamal cipher (C1) received in the system, the mappers (Mj) carrying out the following operations for each index j=1, 2, . . . , k in the following order:
- i. the actual mapper (Mπj) checks if both components of the ElGamal cipher Cj are elements of the set (H), and continues the process only in case the result of the check is positive,
- ii. the actual mapper (Mπj) calculates the subsequent ElGamal cipher (Cj+1):
- C
- j
- +
- 1
- =
- ElGamalRerand
- R
- π
- j
- (
- (
- C
- j
- )
- α
- π
- j
- )
- ,
- iii. if j<k, then the actual mapper (Mπj) randomly selects from the numbers 1, 2, . . . , k such a number πj+1 that is not among the numbers π1, π2, . . . , πj, and then sends in a message the subsequent ElGamal cipher (Cj+1) to the mapper (Mπj+1) corresponding to the number πj+1,
- iv. if j=k, then the actual mapper (Mπj) randomly chooses a number 1 from the numbers 1, 2, . . . , k, and sends in a message to the mapper () corresponding to the number 1 the following information:
- Z
- 1
- =
- g
- K
- 1
- =
- R
- π
- k
- U
- 1
- =
- C
- k
- +
- 1
- thereafter the mappers () carrying out, for each index j=1, 2, . . . , k, in this order, the following operations:
- i. the actual mapper () checks if both components of the ElGamal cipher Uj are elements of the set (H), and continues the process only in case the result of the check is positive,
- ii. the actual mapper () checks if both components of the ElGamal public key Kj are elements of the set (H), and continues the process only in case the result of the check is positive,
- iii. the actual mapper () randomly chooses an integer from the set (H) and determines an integer fj such that:
- ej·fj≡1 mod φ
- iv. the actual mapper () calculates the followings:
- a
-
- value
-
- (
- Z
- j
- +
- 1
- )
- :
- Z
- j
- +
- 1
- =
- (
- Z
- j
- )
- e
- j
- ,
- a
-
- key
-
- (
- K
- j
- +
- 1
- )
- :
- K
- j
- +
- 1
- =
- ElGamalKeyRerand
-
- (
- K
- j
- ⊖
- x
- ϱ
- j
- )
- ,
- and
- a
-
- cipher
-
- (
- U
- j
- +
- 1
- )
- :
- U
- j
- +
- 1
- =
- ElGamalRerand
- K
- j
- +
- 1
- (
- ElGamalPartialDec
- x
- ϱ
- j
- (
- U
- j
- )
- ·
- f
- j
- )
- ,
- v. if j<k, then the actual mapper () randomly chooses from the numbers 1, 2, . . . , k such a number j+1 that is not among the numbers 1, 2, . . . , j, and then sends in a message to the mapper () corresponding to the chosen number j+1 the value (Zj+1), the key (Kj+1) and the cipher (Uj+1) generated in the previous step,
- vi. and, if j=k, then the actual mapper () generates the pseudonym (P) corresponding to the entity identifier (D):
- P
- =
- (
- Z
- k
- +
- 1
- )
- ElGamalResolve
-
- (
- U
- j
- +
- 1
- )