lem_scheme
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
-
decrypt
(*encarray)[source]
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
-
auxiliary
()[source]
Computes auxiliary for all users into a list
-
encrypt
()[source]
Encrypts all user data into a list
-
lem_scheme.
auxiliaryfunc
(b)[source]
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
-
lem_scheme.
hash
()[source]
Computing hash value of time
-
lem_scheme.
modinv
(a, m)[source]
Finding modulo inverse of a mod m
-
lem_scheme.
secretkey
()[source]
Generating random secret key smaller than n2