Giter VIP home page Giter VIP logo

metroscrypt's Introduction

MetrosCrypt

Metros Crypt

Description

MetrosCrypt is for file encryption/decryption based on the cryptocode algorithm.
It is written in Python 3.10.4 with the PyQt5 graphics library.
The program is distributed in forms as an open source python file.

MetrosCrypt

Other versions of the program

Installation for python3

Libraries

git clone https://github.com/John-MetrosSoftware/MetrosCrypt
cd MetrosCrypt
pip3 install -r requirements.txt
python3 MetrosCrypt.pyw

Usage

Menu

MetrosCrypt

File

  • Quit - Exiting the program.

Reference

File action

This list contains two elements. Select the item you need.
To decrypt the file, you do not need to re-enter the password, but in encryption it is needed to avoid problems.

  • Encryption file
  • Decryption file

MetrosCrypt

Input file

Input file input field if the file is found, the program will try to get the value of this file after decrypting or encrypting this value after writing it to the output file.
If the input file is not found, then an error about not finding the input file will be displayed in red from below.
It is important to note that if the output file is not found, the program will ask can the resulting output file be recorded?

  • You can enter the path to the file manually or double-click on the field or click on the button next to it.

MetrosCrypt

Output file

The output file is the file in which the encrypted or decrypted value will be written, it is not so necessary so that the value can be written to the output file.

  • You can enter the path to the file manually or double-click on the field or click on the button next to it.

MetrosCrypt

Password

The password is needed to encrypt or decrypt the contents of the file.
If the decryption password is incorrect, an error will be displayed in red at the bottom.

  • Password can be a void.
  • You can also click on the button that is on the input line and show or hide password.

MetrosCrypt

Confirm Password

Summing up the password is a line in which the password must match the password input line.
If the passwords are not equal to each other, an error will be displayed in red at the bottom.

  • You can also click on the button that is on the input line and show or hide password.

MetrosCrypt

Output result

This checkbox is responsible for not recording the result of encryption or decryption, but simply displaying it on the screen.
Here the output file is not needed and it will not be needed.
If the contents of the file cannot be encrypted or decrypted, an error will be displayed in red at the bottom.

MetrosCrypt

Encryption example

MetrosCrypt

Decryption example

MetrosCrypt

The example uses text test and password 12345678.

Title

In the title of the program you can notice the format:

<action> — <file_path> — <program_info>
Element Designation
actionYour choice of action to encrypt and decrypt.
file_pathPath to input file.
program_infoInformation about the program itself.

Buttons

There are two buttons at the bottom. Depending on the action you choose to encrypt or decrypt the text of the first button, it will change, it is responsible for launching the algorithm. The second button is responsible for closing the main window.

MetrosCrypt

Messages

If everything is successful, a window with a message will open.

MetrosCrypt

Possible errors

Encryption file

  • Apparently this file cannot be encrypted...

Decryption file

  • Apparently this file cannot be decrypted...

Input file

Program could not find the input file.

  • The input file could not be found...

Output file

If the program could not find the output file.

  • If you select yes then the result of encryption or decryption is recorded exactly the input file.
  • If you select no, the window will simply close.

MetrosCrypt

Confirm password

If, when comparing data from the password input lines and its confirmation, they are not equal to each other.

  • Passwords don't match...

Writing or reading a file

  • Failed to record the result.

Unknown error

If you have any problems with the program, write an email to the address below.

MetrosCrypt

Compilation

This version 1.2 is a version without saving any settings or changing them.
All software is provided in English with executable files, these parameters cannot be changed.
I usually compile my projects using the pyinstaller compiler with the following parameters:

pyinstaller -F MetrosCrypt.pyw

Adding an icon for the executable file. You can use yours.

pyinstaller -F --icon=icon.ico MetrosCrypt.pyw

The icon 'icon.ico' can be downloaded from the link.

metroscrypt's People

Contributors

m3tros avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

metr0s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.