Skip to content

arekmano/CryptoMessageBox

Repository files navigation

CryptoMessageBox

A simple Key/Value storage, using MongoDB as the database.

Primary Use Cases

  • Storing data securely in an untrusted MongoDB database.

This application uses RSA encryption algorithm to encrypt the given plain text on the client-side using the public key, then stores the ciphertext in a MongoDB collection. Decryptobox (https://github.com/arekmano/DecryptoBox) can then be used to decrypt the ciphertext into plain text once again, using the private key, on a trusted machine.

Getting Started

  1. Clone the repository:
 git clone [email protected]:arekmano/CryptoMessageBox.git 
  1. Generate an RSA public/private key pair:
 git clone [email protected]:arekmano/CryptoMessageBox.git 
  1. Replace the public key in
     dev/js/constants.js
    with the generated key.
  2. Run npm install:
 npm install 
  1. Run the following gulp task:
 gulp bundle 
  1. The project is now ready to run using
     node app.js

About

Key/Value storage. Encrypts client-side.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages