Skip to main content

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

Project description

🔐 DPJ - CLI Data Cryptographic Tool, an improvement of Fixor 2.50(Old version)

Alt text DPJ is a command-line data encryption tool, a complete rebuild and upgrade from the legacy Fixor project (v2.50 / v1.0). Name changed to DPJ in honor of the original name from 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. 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 :

Underdevelop....Soon

🧪 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.0.6.tar.gz (20.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.0.6-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dpj-3.0.6.tar.gz
  • Upload date:
  • Size: 20.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.0.6.tar.gz
Algorithm Hash digest
SHA256 fc0caa4e954b79bbc482aef7dc3be51108ffc07bf5642b869e0b0f94b19a3aa1
MD5 09c0bce41e079125cba3cc3bc1e7c5e6
BLAKE2b-256 437b89ca8795428e39b800a2aa9d4b44a7c698943d67924dfd8aef6aa4728e49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dpj-3.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca53ca902b2f0e3a59708c91b995d805ec5a2368fb346bcfe06e4ccf1277598
MD5 704f37243becc68ecca85521f52a97b3
BLAKE2b-256 b5baf962219ba8f0adeadd3cdc2f81e26972d1eb6321a170c61afe1ad1898588

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