https://github.com/arpan-206/encryptocli

Encrypto CLI is a command line program that provide you with a intuitive and easy-to-use program that allows for a highly efficient and customisable interface to generate hashes of files or encrypt them. This allows you to encrypt and decrypt files or text data. This is all powered by the Fernet Encryption.

https://github.com/arpan-206/encryptocli

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

hacktoberfest python
Last synced: 6 months ago · JSON representation

Repository

Encrypto CLI is a command line program that provide you with a intuitive and easy-to-use program that allows for a highly efficient and customisable interface to generate hashes of files or encrypt them. This allows you to encrypt and decrypt files or text data. This is all powered by the Fernet Encryption.

Basic Info
  • Host: GitHub
  • Owner: Arpan-206
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 23.1 MB
Statistics
  • Stars: 7
  • Watchers: 2
  • Forks: 3
  • Open Issues: 35
  • Releases: 0
Topics
hacktoberfest python
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct

README.md

EncryptoCLI - By Arpan Pandey

EncryptoCLI Thumbnail

📚 Description

Encrypto CLI is a command-line program that provides you with an intuitive and easy-to-use program that allows for a highly efficient and customizable interface to generate hashes of files or encrypt them. This allows you to encrypt and decrypt files or text data. This is all powered by the Fernet Encryption.

Technologies Used

  • Python3
  • Cryptography Module (Fernet Encryption)
  • Hashing Module
  • Termcolor
  • PyInquirer
  • Scrypt

How it works?

The idea is very simple. The program first asks you about which operation do you want to perform and then asks you 2-3 questions relative to which operation you have selected.First Image

Hashing

You can generate hashes for text or file data by selecting the algorithm from the 5 options provided: Hashing Image The five algorithms supported are: * MD5 * SHA256 * SHA512 * BLAKE2 * BLAKE2b

Also, if you are interested in an analysis of these algorithms or implementing them by yourself you can head over to this article that I wrote on hashing.

Encrypting

You can encrypt data by going through these steps. 1. Select the type of data you want to encrypt. Encrypt Type Selection 2. Input the data (either the text or path to a file). Encrypt Data Input 3. Enter a password. Encrypt Data Password 4. And you are done.

Decrypting

You can decrypt data by going through these steps. 1. Select the type of data you want to decrypt. Decrypt Type Selection 2. Input the data (either the text or path to a file). Decrypt Data Input 3. Enter the password. Decrypt Data Password 4. And you are done.

Steganography

You can encrypt and hide your data in an image using lsb method of steganography ( internally uses stegano package )

Encrypt

  1. Select the type of data you want to encrypt.
  2. Select Image as output type
  3. Input path to the image where your secret will be hidden
  4. Enter the text/secret you want to encrypt and hide
  5. Enter a password.
  6. And you are done your secret has been hidden in the image named "encrypto.png"

Decrypt

  1. Select Image as the type of data you want to decrypt.
  2. Input path to the image file you want to decrypt.
  3. Enter the text/secret you want to encrypt and hide
  4. Enter the password.
  5. And you are done.

🐋 Docker

You can pull this image from Docker Hub and build it very easily. 1. Just pull the image. bash docker pull arpanpandey/encrypto:latest OR

  1. You can build the image using. bash docker build --pull --rm -f "Dockerfile" -t arpanpandey/encrypto:latest "."

  2. Running the container with the image (Be sure to put the -t and -d flag.) bash docker run -t -d arpanpandey/encrypto:latest

License

This project is licensed under the MIT License.

Video Demo

You can access the video demo at https://youtu.be/Zmf2EK9jPCw

Contributors 🏆🏆

MY BLOG

https://hackersreboot.tech/

Thank You!

Thanks a lot to the team at CS50 for teaching me so much about the fascinating world of computer science and program.

Owner

I am a 17-year old school student. I love to code, work on new projects, build stuff from scratch. I also love to learn new things.

GitHub Events

Total
  • Push event: 10
  • Pull request event: 10
  • Create event: 9
Last Year
  • Push event: 10
  • Pull request event: 10
  • Create event: 9

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 5
  • Total pull requests: 50
  • Average time to close issues: about 18 hours
  • Average time to close pull requests: 4 days
  • Total issue authors: 4
  • Total pull request authors: 8
  • Average comments per issue: 1.6
  • Average comments per pull request: 0.14
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 16
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • NirobNabil (2)
  • aritroo (1)
  • nnrepos (1)
  • Arpan-206 (1)
Pull Request Authors
  • Arpan-206 (44)
  • snyk-bot (6)
  • Shourya-maker-lab (4)
  • NirobNabil (3)
  • hexiro (2)
  • dependabot[bot] (2)
  • aritroo (1)
  • nnrepos (1)
Top Labels
Issue Labels
Hacktoberfest (4) enhancement (3) good first issue (3) hacktoberfest-accepted (3) documentation (1)
Pull Request Labels
hacktoberfest-accepted (11) Hacktoberfest (8) enhancement (4) dependencies (2) good first issue (1) invalid (1) documentation (1)

Dependencies

requirements.txt pypi
  • Pillow ==9.2.0
  • PyInquirer ==1.0.3
  • Pygments ==2.10.0
  • autopep8 ==1.7.0
  • cffi ==1.15.0
  • colorama ==0.4.5
  • crayons ==0.4.0
  • cryptography ==35.0.0
  • numpy ==1.23.3
  • opencv-python ==4.6.0.66
  • piexif ==1.1.3
  • prompt-toolkit ==1.0.14
  • pycodestyle ==2.9.1
  • pycparser ==2.20
  • pyfiglet ==0.8.post1
  • regex ==2021.10.8
  • six ==1.16.0
  • stegano ==0.10.2
  • termcolor ==1.1.0
  • toml ==0.10.2
  • wcwidth ==0.2.5
.github/workflows/ossar-analysis.yml actions
  • actions/checkout v2 composite
  • github/codeql-action/upload-sarif v1 composite
  • github/ossar-action v1 composite
Dockerfile docker
  • python 3.12.0a4-alpine build