Code Monkey home page Code Monkey logo

encryptionapplication's Introduction

EncryptionApplication

Encryption and decryption application which encrypts files within the given folder (including files in the subfolders of the given folder).

"Fisher-Yates shuffle" algorithm

The shuffle algorithm run several times during ONE SINGLE encryption or decryption process. This is a lot to compute with specifically large encryptionkey, as the Big-O notation is O(DataSize * KeySize), where "DataSize" is the number of bytes from the data, and "KeySize" is the number of bytes in the encryption key. It is run (the number of bytes in the encryptionkey) of times, using each byte of the encryptionkey as the seed for the random number generation, to be used as the index of the data which will be swapped. The reason to shuffle the data the number of bytes in the encryptionkey, with the combination of using each byte of the key as the seed for the random number generation, is to make it more dependent on the encryptionkey, than to sum each byte of the key and using that with the fisher-yates shuffle algorithm once.

XOR-encryption and addition/Subtraction-encryption

These are used as an additional encryption for the files, to obfuscate the data more than just shuffling it, and make it harder to revert the shuffle.

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.