Skip to content
dannalieth edited this page Dec 6, 2011 · 11 revisions

NetBeans

(Tested on v6.9.1)

  • Open project (File->Open Project) from project root: SecurePrinting
  • Set working directory (File->Project Properties) to: SecurePrinting/test

Demo

A sample execution of the oblivious printing system.

Input: set of alphabets - *.txt files located in /test

Output: in /test

  • visual crypto shares - share-#-.bmp
  • finalization layer - finalization-#*.bmp
  • (optional) overlay - overlayp-#.bmp {image overlap of share-#[num]-.bmp with finalization-#[num].bmp}
  • Set main class (File->Project Properties) to: secureprinting.Controller
  • Run project (F6)

Eclipse

(Tested on Indigo)

Refactor Code

  • Create Eclipse project
  • mv SecurePrinting/src SecurePrinting/lib SecurePrinting/test [Eclipse project dir]

Demo

A sample execution of the oblivious printing system.

Input: set of alphabets - *.txt files located in /test

Output: in /test

  • visual crypto shares - share-#-.bmp
  • finalization layer - finalization-#*.bmp
  • (optional) overlay - overlayp-#.bmp {image overlap of share-#[num]-.bmp with finalization-#[num].bmp}
  • Add jar files from /lib to project environment (Properties->Java Build Path->Libraries->Add JARs)
  • Set Launch configurations to Controller (Properties->Run/Debug Settings)
  • Set Working directory to /test, for e.g. ${workspace_loc:SecurePrinting/test} (Properties->Run/Debug Settings)
  • Run project

Clone this wiki locally