Skip to main content

cli tool for encrypting and decrypting files

Project description

PyCrypytor

PyCryptor is a cli tool used for encrypting/decrypting files. The tool uses EAX signature verification and CBC cipher. The password provided by the user is used as a 256-bit symmetric key after getting hashed 100 000 times.

Installation

$ pip install PyCryptor

Usage

  • ๐Ÿ”’ Encrypting files
$ pycryptor -e -k 12345 test_files/*
 โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
 โ•‘      ____        ______                 __              โ•‘
 โ•‘     / __ \__  __/ ____/______  ______  / /_____  _____  โ•‘
 โ•‘    / /_/ / / / / /   / ___/ / / / __ \/ __/ __ \/ ___/  โ•‘
 โ•‘   / ____/ /_/ / /___/ /  / /_/ / /_/ / /_/ /_/ / /      โ•‘
 โ•‘  /_/    \__, /\____/_/   \__, / .___/\__/\____/_/       โ•‘
 โ•‘        /____/           /____/_/                        โ•‘
 โ•‘                                                         โ•‘
 โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

 operation mode : encrypt
 total files    : 3 files
 buffer size    : 4096

 file_1.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00
 file_2.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00
 file_3.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00
  • ๐Ÿ”“ Decrypting files
$ pycryptor -d -k 12345 test_files/*
 โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
 โ•‘      ____        ______                 __              โ•‘
 โ•‘     / __ \__  __/ ____/______  ______  / /_____  _____  โ•‘
 โ•‘    / /_/ / / / / /   / ___/ / / / __ \/ __/ __ \/ ___/  โ•‘
 โ•‘   / ____/ /_/ / /___/ /  / /_/ / /_/ / /_/ /_/ / /      โ•‘
 โ•‘  /_/    \__, /\____/_/   \__, / .___/\__/\____/_/       โ•‘
 โ•‘        /____/           /____/_/                        โ•‘
 โ•‘                                                         โ•‘
 โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

 operation mode : decrypt
 total files    : 3 files
 buffer size    : 4096

 file_1.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00
 file_2.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00
 file_3.txt โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 100% 0:00:00

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyCryptor-0.1.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

PyCryptor-0.1.3-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file PyCryptor-0.1.3.tar.gz.

File metadata

  • Download URL: PyCryptor-0.1.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for PyCryptor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5f5341a0d4dd0c167de7d8d9aef617e2be0e13ffb1a636ab08882688e1005962
MD5 17b8aa2f474befc732ce2f81973d7717
BLAKE2b-256 814f628319b0c3f5e8d0bfe361991e62f3e5b121069063fea30ede9f95bf904a

See more details on using hashes here.

File details

Details for the file PyCryptor-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: PyCryptor-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for PyCryptor-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edc7414c7b36588f945f019d7bbfaed504f7be8b87e87249aa887c33a5454bc9
MD5 aac8518d5933d6cb5cc922299721b1b4
BLAKE2b-256 c251c7d6fde452d8fe4cdd5bf61c3cdb599650dc8dfd66f12821364d6825717a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page