Diplomatrix_CLI
Secure encryption and decryption using the One-Time-Pad approach. Multilingual support in Spanish, French and English.
rad:zL2YMJeWDkzBtbruXNnS9jdJbhfy
Visibility
public
Delegates
did:key:z6MkkzoSd5p9d5ZKFf3BRrG247towTjepZtER71QFFkMvgs6
Default branch
master → c691dd4d9312ef2c4a10b22f1b591558361254e4 (Wed Jan 8 01:24:31 2025)
Threshold
1
README.md
# Diplomatrix: One-Time Pad Encryption Tool

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.

## Key Features

- **Unbreakable Security**: Utilizes the OTP method to ensure absolute data confidentiality.
- **Easy-to-Use CLI**: Designed for simplicity; users can interact through a straightforward menu system.
- **Multilingual Compatibility**: Supports a wide range of characters, including English, Spanish, and French alphabets, as well as special characters.
- **Secure OTP Management**: Automatically generates, uses, and securely deletes OTP sheets after each operation.

## How to Use

1. **Run the Program**
   Open your terminal and navigate to the directory containing `diplomatrix.py`. Then, execute the following command:
   ```bash
   python diplomatrix.py
   ```

2. **Follow the Menu**
   The program provides a simple menu with four options:

   - `1. Generate one-time pads`: Create OTP sheets for encryption and decryption.
   - `2. Encrypt a message`: Encrypt plaintext using an OTP sheet.
   - `3. Decrypt a message`: Decrypt ciphertext back to plaintext using the corresponding OTP sheet.
   - `4. Quit the program`: Exit the tool.

3. **Examples**

   - **Generate OTP Sheets**:
     Specify the number of OTP sheets and the maximum message length. The sheets will be saved as text files in the current directory.

   - **Encrypt a Message**:
     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.

   - **Decrypt a Message**:
     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.

## Additional Information

- **Character Set**:
  The tool supports a comprehensive character set, including:
  ```
  üÜÁÍÓÚáíóúéèêëâàçîôûùïœÉÈÊËÂÀÇÎÔÛÙÏŒabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNÑOPQRSTUVWXYZ0123456789 .,()@"/=¿?!¡:;+-'
  ```

- **Security Note**:
  Each OTP sheet is designed for single use only. Once used for encryption or decryption, the sheet is automatically deleted to maintain security.

## No Licensing Restrictions

This tool is provided without any licensing restrictions. You are free to use, modify, and distribute it as you see fit.

---

For any questions or feedback, feel free to reach out.

## e-mail

battosai@dnmx.su

## SimpleX

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

## Briar

briar://ac4jkk7rqcb7vbvjudzvoav64lcypoo3qaj3b5wnndcvvsdpz3fvs


## Cypherpunks_FR

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.

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