Prypto is an open-source tool designed to convert files into photos and vice versa. It allows you to encrypt files by converting them to images and decrypt them back to files. By adding a password to your files, Prypto uses AES encryption to ensure their security.
-
File Conversion: Prypto utilizes the RGB range of 0 to 255 in images. To convert a file into a picture, the tool first encodes the file into Base64 format. Base64 characters range up to 128, so each character is further converted into decimal using the 'ord' function. Each pixel of the image is then used to store the decimal value of a character.
-
Decryption: When decrypting the picture back into a file, Prypto reverses the process. It reads the pixel values from the image and converts them back to decimals. These decimal values are then converted into Base64 characters, and finally, the original file is reconstructed.
This is an example of how to list things you need to use the software and how to install them.
-
install pip and packages
apt install python3-pip; pip3 install numpy pillow
-
Clone the repo
git clone https://github.com/aDarkDev/Prypto.git; cd Prypto
-
Run it
Prypto.py
python3 Prypto.py -h
usage: Prypto.py [-h] [-a ACTION] [-i INPUT] [-o OUTPUT] [-p PASSWORD]
[Prypto Tool] Convert any file to Picture.
optional arguments:
-h, --help show this help message and exit
-a ACTION, --action ACTION
Action: enc for encrypt and dec for decrypt
-i INPUT, --input INPUT
Input File Such as .zip , .txt or anything.
-o OUTPUT, --output OUTPUT
Output file for encryption. Example: Prypto
-p PASSWORD, --password PASSWORD
If you want to add a password.
- Can be password protected
- Encrypt With AES
- Support all file types for encryption
- The photo is legible and does not break
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.
aDarkDev - aDarkDevSup@gmail.com
Project Link: https://github.com/aDarkDev/Prypto