Giter VIP home page Giter VIP logo

boxdbox's Introduction

Box and Unbox your file through Huffman Coding Algorithm and SHA256 Hashing


Software Architecture

App Outlook

Milestone 1

  • Software Design
  • Graphical User Interfaces
  • Huffman Tree Node

Milestone 2

  • Algorithm to build HuffmanTree completed.
  • Translated HuffmanTree to HuffmanTable
  • Translated Byte Array from input file to Huffman Code string completed.
  • Hashing with SHA256 completed.
  • Object serialization completed, serialized a packet that consists of HuffmanTable, HuffmanCode, and SHA256Hashed Password.
  • Encryption Reader that reads bytes from the file completed.
  • Encryption Writer that writes a packet to the file completed.
  • Encrypter wrapper class completed.
  • Decryption Reader that reads a packet from the file completed.
  • Decryption Writer that writes original bytes to the file completed.
  • Decryption algorithm that greedy compute the original byte from Huffmancode and Huffmantable completed.
  • MainWindow Action Listeners for load, box, unbox buttons implemented.
  • MainWindow Keyboard listeners for secrete key implemented.
  • Icons for UI components added.

Milestone 3

  • Updated Architecture diagram
  • Added description about the algorithms
  • PPT demo added
  • Video demo added
  • Updated the demo page

Major Subcomponents Description

  • Packet Builder
    • Packet Builder build the Huffman Tree from the original byte array read from the input file. Then build the Huffman Table according to the Huffman Tree. Finally, build the Huffman Code String from Huffman Table and original byte array. Huffman Code String is the encoded string that describes the original byte array in a secret way.

boxdbox's People

Contributors

box-lin 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.