/ README.md
README.md
 1  # Diplomatrix: One-Time Pad Encryption Tool
 2  
 3  Diplomatrix is a simple yet powerful command-line encryption tool implementing the One-Time Pad (OTP) approach for unbreakable message security. With its intuitive interface, it provides users with seamless encryption and decryption processes without any additional installation requirements.
 4  
 5  ## Key Features
 6  
 7  - **Unbreakable Security**: Utilizes the OTP method to ensure absolute data confidentiality.
 8  - **Easy-to-Use CLI**: Designed for simplicity; users can interact through a straightforward menu system.
 9  - **Multilingual Compatibility**: Supports a wide range of characters, including English, Spanish, and French alphabets, as well as special characters.
10  - **Secure OTP Management**: Automatically generates, uses, and securely deletes OTP sheets after each operation.
11  
12  ## How to Use
13  
14  1. **Run the Program**
15     Open your terminal and navigate to the directory containing `diplomatrix.py`. Then, execute the following command:
16     ```bash
17     python diplomatrix.py
18     ```
19  
20  2. **Follow the Menu**
21     The program provides a simple menu with four options:
22  
23     - `1. Generate one-time pads`: Create OTP sheets for encryption and decryption.
24     - `2. Encrypt a message`: Encrypt plaintext using an OTP sheet.
25     - `3. Decrypt a message`: Decrypt ciphertext back to plaintext using the corresponding OTP sheet.
26     - `4. Quit the program`: Exit the tool.
27  
28  3. **Examples**
29  
30     - **Generate OTP Sheets**:
31       Specify the number of OTP sheets and the maximum message length. The sheets will be saved as text files in the current directory.
32  
33     - **Encrypt a Message**:
34       Provide the filename of an OTP sheet, enter your plaintext, and specify the output filename for the encrypted message. The used OTP sheet will be deleted automatically for security.
35  
36     - **Decrypt a Message**:
37       Provide the filename of the OTP sheet and the encrypted file. The decrypted message will be displayed, and the OTP sheet will be securely deleted.
38  
39  ## Additional Information
40  
41  - **Character Set**:
42    The tool supports a comprehensive character set, including:
43    ```
44    üÜÁÍÓÚáíóúéèêëâàçîôûùïœÉÈÊËÂÀÇÎÔÛÙÏŒabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNÑOPQRSTUVWXYZ0123456789 .,()@"/=¿?!¡:;+-'
45    ```
46  
47  - **Security Note**:
48    Each OTP sheet is designed for single use only. Once used for encryption or decryption, the sheet is automatically deleted to maintain security.
49  
50  ## No Licensing Restrictions
51  
52  This tool is provided without any licensing restrictions. You are free to use, modify, and distribute it as you see fit.
53  
54  ---
55  
56  For any questions or feedback, feel free to reach out.
57  
58  ## e-mail
59  
60  battosai@dnmx.su
61  
62  ## SimpleX
63  
64  https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2FPtsqghzQKU83kYTlQ1VKg996dW4Cw4x_bvpKmiv8uns%3D%40smp18.simplex.im%2F8dbK2l234ma6b-aVyNtz-iMjQnTY4khg%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEAYsPHgcMMcgLujGNEN1JfX0WHuXu13gEHEju7kgeFuTU%253D%26srv%3Dlyqpnwbs2zqfr45jqkncwpywpbtq7jrhxnib5qddtr6npjyezuwd3nqd.onion
65  
66  ## Briar
67  
68  briar://ac4jkk7rqcb7vbvjudzvoav64lcypoo3qaj3b5wnndcvvsdpz3fvs
69  
70  
71  ## Cypherpunks_FR
72  
73  You are also welcome to join our Simplex #Cypherpunks_FR community using the following link! While the primary language is French, we also communicate in English and Spanish. In this vibrant space, you can receive support from our members and explore an incredible collection of cyberpunk art illustrations.
74  
75  https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2FPtsqghzQKU83kYTlQ1VKg996dW4Cw4x_bvpKmiv8uns%3D%40smp18.simplex.im%2FYhFScWbvRtkN4vwYQepE7YdA6DcGL9NH%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEAMXMZL5mIIeiCPExPOykIIj4x39e8a6sZyFlQcNhSCV4%253D%26srv%3Dlyqpnwbs2zqfr45jqkncwpywpbtq7jrhxnib5qddtr6npjyezuwd3nqd.onion&data=%7B%22type%22%3A%22group%22%2C%22groupLinkId%22%3A%22M8BXfs3vkE4oKNTxoOo9tA%3D%3D%22%7D
76