EPiC
Efficient Privacy-Preserving Counting for MapReduce
 All Classes Namespaces Functions Variables
Static Public Member Functions
common.GetAnswer Class Reference

Provides a tool to obtain the plain-text count value from the answer received from the cloud. More...

List of all members.

Static Public Member Functions

static void parseAnswerEpic (String answer)
 Decrypts the encrypted answer to the plain-text count value.
static void parseAnswerPlain (String answer)
 In plain-text MapReduce cases, the received answer is also the count value.
static void main (String[] args)

Detailed Description

Provides a tool to obtain the plain-text count value from the answer received from the cloud.

The answer is simply decrypted using the known degree of b.

Usage:

java common.GetAnswer <mapred> <paramfile> <answerfile>

mapred
epic
Gets answer received from MapRedEpic.
plain
Gets answer received from MapRedPlainCountOne.
paramfile
Path to the parameters file (see Parameters).
answerfile
Path to the answer file.
Author:
vohuudtr

Member Function Documentation

static void common.GetAnswer.main ( String[]  args) [inline, static]
Parameters:
args
static void common.GetAnswer.parseAnswerEpic ( String  answer) [inline, static]

Decrypts the encrypted answer to the plain-text count value.

The plain-text value is printed to the standard output.

Parameters:
answerencrypted answer as a big-integer in Java String format.
static void common.GetAnswer.parseAnswerPlain ( String  answer) [inline, static]

In plain-text MapReduce cases, the received answer is also the count value.

The answer is, therefore, printed directly to the standard output.

Parameters:
answerplain-text answer as a big-integer in Java String format.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables