Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cycleuser/echorev
a GUI tool to help you reverse your input text.
https://github.com/cycleuser/echorev
Last synced: about 1 month ago
JSON representation
a GUI tool to help you reverse your input text.
- Host: GitHub
- URL: https://github.com/cycleuser/echorev
- Owner: cycleuser
- License: gpl-3.0
- Created: 2024-01-02T10:28:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-02T10:29:09.000Z (12 months ago)
- Last Synced: 2024-04-23T20:16:04.789Z (8 months ago)
- Language: Python
- Size: 17.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EchoRev: A Linguistic Tool for Customizing Text Direction and Encryption
EchoRev is a unsophisticated GUI tool designed to assist in reversing text direction and encrypting/decrypting text. This tool is particularly useful for linguists and language enthusiasts who deal with the complexities of different writing systems. Some languages are written from right to left, while others are written from left to right. EchoRev addresses this challenge by providing a flexible solution for converting text direction, hoping it to be a simple tool for related research and language processing.
Earlier versions have only functions in reversing text direction, but the current version has been updated to provide encryption and decryption functions.
## Installation
The earlier version of this tool was developed using PyQt5, but the current version has been updated to use PySide6, a Qt binding for Python that is more compatible with modern operating systems.
```Bash
pip install requests
pip install pyside6
pip install cryptography
pip install echorev
```OR adding `--user` to avoid the `EnvironmentError`
```Bash
pip install requests --user
pip install pyside6 --user
pip install cryptography --user
pip install echorev --user
```Then run the following command to start the GUI:
```Bash
python -c "import echorev;echorev.main()"
```## Usage
The GUI has four main functions: reversing text direction, generating public and private keys for encryption and decryption, encrypting text, and decrypting text.
As shown in the following Figure 1, the GUI is divided into four tabs: "Text Input", "Text Output", "Text Encrypted ", and "Text Decrypted".![](./img/01_MainFrame.png)
#### Figure 1### Text Conversion
Enter the original text in the Text Input section at the top left corner, and then the converted text in the corresponding order will be presented in the Text Output interface at the bottom left corner.
This software supports three conversion methods by default.
The first one, as shown in Figure 2, is to convert left-to-right text to right-to-left.![](./img/02_RightToLeft.png)
#### Figure 2The second one, as shown in Figure 3, converts horizontal text from left to right to vertical text, the vertical direction is from left to right.
![](./img/03_Vertical_LeftToRight.png)
#### Figure 3The third, as shown in Figure 4, conforms to the text direction of traditional Chinese Old Chinese, where the original text is horizontal rows of text from left to right, and is converted into vertical text, the vertical direction is from right to left.
![](./img/04_Vertical_RightToLeft.png)
#### Figure 4### Generate Keys
The new version of this software adds text encryption and decryption function.
First of all, the basic function is to generate the private key and public key of RSA, which is an asymmetric encryption algorithm, after generating it, you can decrypt it at any time by keeping your own private key, and the public key can be sent to the other party so that the other party can encrypt the cipher text and send it to themselves.
Be sure to note that the public key should be sent to the other party, the private key to keep their own, so that the other party encrypted text with the public key, they can use their own private key to view.If you want to send the encrypted text to the other party, you need the other party's public key to encrypt it.
![](./img/05_Generate_Private_Key_To_Decrypt.png)
#### Figure 5As shown in Figure 5 is to generate the private key, Figure 6 shows is to generate the public key.
![](./img/06_Generate_Public_Key_To_Crypte.png)
#### Figure 6There will be a corresponding prompt after successful key generation.
![](./img/07_Keys_Generated.png)
#### Figure 7### Load Keys
In addition to generating keys, you naturally need to be able to load already existing keys, making sure to take care to load the other party's public key for encryption and your own private key for decryption. As shown in Figure 8 and 9.
![](./img/08_Load_Private_Key_To_Decrypt.png)
#### Figure 8![](./img/09_Load_Public_Key_To_Crype.png)
#### Figure 9### Encryption and Decryption
After ensuring that the public key for encryption and the private key for decryption are loaded correctly, you can click the corresponding button to encrypt and decrypt the text, as shown in Figure 10 and 11.
![](./img/10_Click_To_Crype.png)
#### Figure 10![](./img/11_Click_To_Decrypt.png)
#### Figure 11