Use this repository to encrypt texts.
Among the various problems, the main vulnerabilities are:
- character frequency decoding;
- brute force decoding.
Feel free to implement solutions to this.
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 |
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).
pv
file must be removed from the directory if you want to send the folder confidentially to someone.
- Faça um fork do projeto;
- 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); - Crie sua branch para realizar sua modificação (
git checkout -b feature/NOME_DA_MODIFICAÇÃO
); - Após ter realizado suas modificações, faça um commit (
git commit -m "DESCRIÇÃO_DA_MODIFICAÇÃO"
); - Faça o Push para seu repositório (
git push origin feature/NOME_DA_MODIFICAÇÃO
); - 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