Skip to content

izzygomez/cocoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6.857 Final Project: Cocoon

Cocoon is a web storage application which allows users to query substring searches on their encrypted data.

See our presentation & writeup.

Setup (Linux)

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

To encrypt a plaintext file

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.

To run the server locally

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.

About

Encrypted substring search in polynomial time. 🗝️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published