Iraklis Leontiadis, Kaoutar Elkhiyaoui, Refik Molva(Aggregation Scheme)

From: “Private and Dynamic Time-Series Data Aggregation with Trust Relaxation”
Published in: CANS 2014

type: Plaintext Evaluation of the sum from encrypted values. setting: Integer

Authors: Iraklis Leontiadis Date: 2/2015

class lem_scheme.Aggregator[source]

Bases: object

Class for computing Pka and generating Ska


Decrypting the sum

class lem_scheme.Collector(*auxarray)[source]

Bases: object

Computes auxt from list of auxiliary information from all users

class lem_scheme.Users(*userdata)[source]

Bases: object

Computing users secret keys(ski) for users list *userdata


Computes auxiliary for all users into a list


Encrypts all user data into a list


Auxiliary information of one value, where b=ski

lem_scheme.egcd(a, b)[source]

Extended Euclidian gcd function between a and b

lem_scheme.encryptfunc(a, d)[source]

Encryption of one value, where a=plaintext(number), d=ski


Computing hash value of time

lem_scheme.modinv(a, m)[source]

Finding modulo inverse of a mod m


Generating random secret key smaller than n2