Skip to content

Commit 19aee82

Browse files
committed
added new feature i.e text decrypter
1 parent 9cdfb44 commit 19aee82

5 files changed

Lines changed: 259 additions & 142 deletions

File tree

EggShell/eggshell.py

Lines changed: 0 additions & 142 deletions
This file was deleted.

SCRIPTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,4 @@
9494
| 60\. | HackerEnv | hackerEnv is an automation tool that quickly and easily sweep IPs and scan ports, vulnerabilities and exploit them. Then, it hands you an interactive shell for further testing. Also, it generates HTML and docx reports. It uses other tools such as nmap, nikto, metasploit and hydra. Works in kali linux and Parrot OS. | [Take me](./hackerenv/)
9595
| 61\. | Instagram Automation | This python script will automate your instagram account just enter your username and password of your account, then enjoy the program ! | [Take me](./Instagram-Automation)
9696
| 62\. | Skype Automation | This python script will automate skype account by taking your username and password of your account, this will automate will your program ! | [Take me](./Skype-Automation)
97+
| 63\. | Text Decrypter | This python script will decrypt your encrypted text of different cipher techniques (4 techniques) | [Take me](./textdecrypter)

text_decryption/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## Encryption and Decryption Toolkit
2+
3+
This repository contains a Python script (encrypt_decrypt.py) that provides a collection of functions for performing encryption and decryption using various ciphers: Caesar cipher, Affine cipher, Substitution cipher, and Transposition cipher. Users can choose the type of cipher and input their desired text and key values for encryption or decryption.
4+
5+
## How to Use
6+
1. Save the provided Python script into a file, e.g., encrypt_decrypt.py.
7+
8+
2. Make sure you have Python installed on your system.
9+
10+
3. Open a terminal or command prompt and navigate to the directory where the script is located.
11+
12+
4. Run the script using the command:
13+
python encrypt_decrypt.py
14+
15+
5. Follow the on-screen instructions to select the cipher and input the required text and key values for encryption or decryption.
16+
17+
## Available Ciphers
18+
1. Caesar Cipher
19+
* Encrypt and decrypt text using a simple shift of characters.
20+
* The user must provide a shift value (integer) to perform the encryption or decryption.
21+
22+
2. Affine Cipher
23+
* Encrypt and decrypt text using a mathematical function (ax + b).
24+
* The user must provide two integer values (a and b) to perform the encryption or decryption. The value of 'a' must have a modular inverse.
25+
26+
3. Substitution Cipher
27+
* Encrypt and decrypt text by replacing each letter with another letter from a substitution key.
28+
* The user must provide a substitution key (string) with 26 unique letters of the alphabet for encryption or decryption.
29+
30+
4. Transposition Cipher
31+
* Encrypt and decrypt text by rearranging the characters based on a given key.
32+
* The user must provide a transposition key (integer) to perform the encryption or decryption. The key must be less than the length of the input text.
33+
34+
### Note:
35+
36+
* For the Affine Cipher, ensure that the value of 'a' has a modular inverse. Otherwise, the decryption will not be possible.
37+
* For the Substitution Cipher, the substitution key should have 26 unique letters of the alphabet for the encryption and decryption to work correctly.
38+
39+
Feel free to use and modify this toolkit to suit your encryption and decryption needs. Enjoy experimenting with different ciphers to secure your messages!

0 commit comments

Comments
 (0)