This project implements console interfaces for encoding and decoding text using different encryption methods: base64 and XOR. Each interface supports text input in Cyrillic and Latin and the ability to save the results to a text file.
console interface | web interface |
---|---|
Functionality:
- Converting text to base64 format.
- Deconvert base64 to plain text.
- Checking for the correctness of the base64 code.
- Ability to save the results to a file.
Functionality:.
- Converts text using the XOR method with the specified key.
- Decode the text encrypted by the XOR method using the key.
- Checking the correctness of the text encrypted by the XOR method.
- Ability to save the results to a file.
- Run the corresponding script in the terminal or use the
start.bat
bat file if you are using the Windows environment. - Enter the text to encode and decode or use input.txt
- The results are displayed in the console, the session history is saved to the output.txt file.
A web version of the application is now also available: https://sergeiown.github.io/Encryption_Variations/
- Availability of Node.js.
- Access to the file system.
Both scripts can be used as examples for implementing console interfaces for encoding and decoding text.