Skip to content

PyCriptoNita é uma aplicação simples de criptografia de texto escrita em Python. O projeto foi desenvolvido para criptografar e descriptografar mensagens de forma prática e segura, utilizando uma chave gerada aleatoriamente.

Notifications You must be signed in to change notification settings

Felici4no/PyCriptoNita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyCriptoNita

PyCriptoNita is a simple Python script designed to encrypt and decrypt text messages using a randomly generated substitution cipher.

How it works:

  1. Key Generation: A unique key is created by randomly shuffling all possible characters (letters, digits, punctuation, and special characters).
  2. Encryption: Each character in the input message is replaced with the corresponding character in the key, shifted by one position to the right.
  3. Decryption: The encrypted message is decrypted by reversing the encryption process, shifting each character in the encrypted message one position to the left.

Usage:

  1. Run the script: Execute the main.py file.
  2. Enter your message: The script will prompt you to input the message you want to encrypt or decrypt.
  3. View the result: The encrypted or decrypted message will be displayed on the console.

You can also use the run shell script to start the program if you want. (bash and python will be required)

# this will run the shell script
bash run.sh

Example:

Enter your message: Hello, world!

Encrypted message: Ifmmpx, yxovl!

Note:

  • The security of this encryption method is limited.
  • The script assumes that the same key is used for both encryption and decryption. In a real-world application, the key should be securely distributed to authorized parties.

Future enhancements:

  • Implement different encryption algorithms.
  • Allow users to choose the key.
  • Provide options for saving and loading encrypted messages.
  • Add a graphical user interface for easier interaction.

About

PyCriptoNita é uma aplicação simples de criptografia de texto escrita em Python. O projeto foi desenvolvido para criptografar e descriptografar mensagens de forma prática e segura, utilizando uma chave gerada aleatoriamente.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published