Skip to main content

A simple CLI tool for encrypting/hashing files and strings.

Project description

License Repo Size PyPI

🔐 DPJ - CLI Data Cryptographic Tool

Alt text

DPJ is a command-line data encryption tool, an improvement of Fixor 2.50(Discontinued). The Name Fixor changed to DPJ in honor of the my first encryption tool developed in QBasic and Visual Basic (2003–2007), DPJ is faster, more secure, and packed with new features designed to keep your data safe. Is a lightweight CLI tool, encrypt/decrypt files securely using custom method, build with python. Good tool to encrypt your work projects or your sensitive data(documents, PDFs, photos, videos, etc.).

⚡ Features

  • 🔒 Encrypt & Decrypt Files using strong cryptography
  • 🧠 Choose or Autogenerate Passphrase for encryption
  • 🔐 KDF-powered Key Derivation to resist brute-force attacks
  • 🧂 Secure Password Hashing with bcrypt (stored in encrypted metadata)
  • 🧬 Encrypted Metadata using AES to protect internal config
  • 🔍 File Scan Mode to check encryption details
  • File Integrity Verification, a built-in verification step checks whether the decrypted data matches the original, ensuring the decryption process was successful.
  • 🛡️ Tamper Protection: Files won’t be modified unless the passphrase is correct
  • #️⃣ Hash tools included: Hash files/Msg using any theses algorithms (blake2b, sha3_512, sha256, sha1, sha512, shake_128, shake_256, sha3_256, blake2s, md5), In the absence of a specified algorithm, the default SHA256 will be applied.

🚀 Performance

DPJ improves on Fixor with significantly faster encryption and decryption processes, optimized for modern systems and large files.

🔧 Installation

You can install DPJ

++by cloning this repo:

git clone https://github.com/jheffat/dpj.git
cd dpj
python3 -m pip install

++install DPJ by pypi:

pip install dpj

++Download and install executable for windows :

DPJ 3.0.7 Installer.exe

🧪 Usage Examples

Encrypt all files including sub-directories with a key #R3ds0ftwar3!len3zz

dpj -e *.* -r -k #R3ds0ftwar3!len3zz    

Encrypt all files with the extension .JPG on the current path c:\pictures

dpj -e  c:\pictures\*.jpg     

Decrypt all files including in sub-directories on the current local

dpj -d *.* -r  

scan all files including in sub-directories on the current local

dpj -s *.* -r  

Hash all files using all algorithm

dpj -hs *.* -a all

📷 Screenshots

List of Files ready to be encrypted Alt text Encryption Process Decryption Process Alt text Scanning files encrypted Alt text Hashing a file Alt text Hashing a file with all algorithms Alt text Hashing all files using only the algorithm SHA256 Alt text

🔐 Security Details

  • KDF: Passphrases are transformed via a Key Derivation Function before use, making brute-force attempts extremely difficult.
  • bcrypt: Passphrase hashes are stored using bcrypt to safely verify future attempts without revealing the key.
  • AES Encryption: The metadata (containing the bcrypt hash) are encrypted with AES, the file content use different cryptographic method.
  • No Overwrites: Files will not be altered if the provided passphrase is incorrect.
  • Hash Verification: A post-decryption hash ensures that the data was correctly restored.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙌 Acknowledgements

DPJ(Data protection Jeff), was my first encryption app crafted in QBasic(CLI) and Visual Basic(GUI) between 2003–2007. This project is a modern revival with more power, speed, and security, thanks to the powerful language PYTHON.

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

dpj-3.5.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dpj-3.5.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file dpj-3.5.0.tar.gz.

File metadata

  • Download URL: dpj-3.5.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for dpj-3.5.0.tar.gz
Algorithm Hash digest
SHA256 fcd8c089a34a77790abc6600ccfbac473f77c5c9444e8376095c0435f33518c6
MD5 2b68a9bc23fae448ca8f1082681d21e6
BLAKE2b-256 17909ab62a4799c577e3cd43647637853abd7b2e37f41e0ec97094828217f7d8

See more details on using hashes here.

File details

Details for the file dpj-3.5.0-py3-none-any.whl.

File metadata

  • Download URL: dpj-3.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for dpj-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fda8c0a6dff7f33c74cc69b5136b567b7df014d621072f51971422c6ae3c7eb0
MD5 29826d4b23c3c8e865e00f1b974d4e1c
BLAKE2b-256 c46d4770045a3e59fd90707df893232c6ecca9e349c05041e316c409e486335e

See more details on using hashes here.

Supported by

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