Cocoon is a web storage application which allows users to query substring searches on their encrypted data.
See our presentation & writeup.
Clone the repository
git clone https://github.com/izzygomez/cocoon
cd cocoon/
Install String Generator
unzip StringGenerator-0.1.3.zip
cd StringGenerator-0.1.3/
sudo python setup.py install
cd ..
Install SuffixTree
cd suffix_tree/
sudo python setup.py install
cd ..
Install PyCrypto
sudo pip install pycrypto
Install Node modules
npm install
cd crypto
python encrypt.py -f [path-to-file]
The ciphertext will be saved as ciphertext.txt
, in the same directory that you ran encrypt.py
from.
Start MongoDB in a separate terminal window:
mkdir data
mongod --dbpath data/
Run the server
npm start
You can now use the web app at localhost:3000
.