Giter Site home page Giter Site logo

casend's Introduction

CASend

Lightweight, Easy-to-use, Encrypted File Transfer Tool

This tool was designed to give users an intuitive way to transfer files between devices. Users do not need complex authentication procedures to send files to another user. That is, without logging into the sender's device, a recipient could effortlessly obtain the file from the sender using a straightforward 6-digit passcode.

Key Features

  • Lightweight implementation: all the codes are written in C code
  • Easy-to-use: receive file with a simple 6-digit random passcode
  • Multiple client serving: allows multiple users transfer their files at the same time
  • Zero-knowledge server: server does not store any data of transferring file besides the file name to elevate the privacy of users
  • Secure file transfer: both passcode and the file data were encrypted with RSA2048 and only clients held the private key to decrypt the information.
  • Parallel programming: use OpenMP for increasing encryption / decryption efficiency
  • Data integrity check: check end-to-end data integrity with SHA256 algorithm to provide trust-worthy file transfer

Getting Started

  1. Build server and clients
$ cmake -S . -B build
$ cmake --build build
  1. Run server
$ ./build/bin/server
  1. Sender
$ ./build/bin/casend send -f hello_world.txt  # this should give a 6-digit passcode
  1. Reciever
$ ./build/bin/casend receive -c ******  # fill in with the passcode

Note: Interactive mode will be entered if file or code is not specified. Use -h option for help.

Register server configuration

Clients are able to register to a specific server so that there's no need to specify the server host name and port every time.

$ ./build/bin/casend register

The configuration file will be stored under ~/.config/CASend/config.txt

casend's People

Contributors

choucl avatar 0x26rew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.