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) overlap of images share-#[num]-*.bmp and finalization-#[num].bmp ------ overlay-#*.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) overlap of images share-#[num]-*.bmp and finalization-#[num].bmp ------ overlay-#*.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