Code Monkey home page Code Monkey logo

cryptinpyc's Introduction

cryptinpyc

Open Source Love

Use this repository to encrypt texts.

⚠️ Please, do not use this code for serious and confidential purposes. Encrypted data does not follow recommended data protection standards.

Among the various problems, the main vulnerabilities are:

  • character frequency decoding;
  • brute force decoding.

Feel free to implement solutions to this.

Architecture

Modularization by files:

Archive function
./app/calc.py Contains some relevant math functions
./app/console.py Program management apparatus
./app/gfile.py Create and write generated results to disk
./app/read.py Reads and converts encoded data
./app/RSA/conversion.py translate the data
./app/RSA/gk.py Generates keys (public and private)
./app/RSA/main.py Performs encryption based on generated keys
./app/RSA/preCoding.py Unicode translation with its correspondent
./app/.glp/glp.c e ./app/.glp/glp.py Apparatus for creating the list of prime numbers lp.txt
./app/.glp/glp.sh Writes prime numbers found

How to use:

So that you can interact with the program there is the console.py file, which can be run from the CLI and has a built-in help guide. It's important that you are in the app directory so that nothing unexpected happens.

$ python3 console.py

You can encrypt data and it will be saved in a randomly named folder containing the files:

  • ief (dados criptografados);
  • pb (chave pública);
  • pv (chave privada).

⚠️ The pv file must be removed from the directory if you want to send the folder confidentially to someone.

Para contribuir:

  1. Faça um fork do projeto;
  2. Clone o projeto do seu fork (git clone https://github.com/SEU_USUARIO/cryptinpyc.git) (não se esqueça de mudar SEU_USUÁRIO no link);
  3. Crie sua branch para realizar sua modificação (git checkout -b feature/NOME_DA_MODIFICAÇÃO);
  4. Após ter realizado suas modificações, faça um commit (git commit -m "DESCRIÇÃO_DA_MODIFICAÇÃO");
  5. Faça o Push para seu repositório (git push origin feature/NOME_DA_MODIFICAÇÃO);
  6. No seu repositório no Github crie uma Pull Request para que seja avaliada a suas modificações para ser feito o merge no projeto principal.


made with ♥ by a student

cryptinpyc's People

Contributors

nunniii 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.