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.0.7.tar.gz (20.9 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.7-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dpj-3.0.7.tar.gz
  • Upload date:
  • Size: 20.9 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.7.tar.gz
Algorithm Hash digest
SHA256 5547ca5d0fcd4cfd600c8b8831f9e7517c239c38731d396aae6c2c2a272f1953
MD5 1ca077484ce2ac888f1c9cb9aa22db8c
BLAKE2b-256 a52d16209466831469b3f37314823ecbd1d2ef2233a475a67e897e541b2e06fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dpj-3.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7aa72ddcb0a2fbbe1e3a937ee4d0e2730ee992ed8fe5164f8fa2c9038b6217dd
MD5 4471e9bae3f0e39ef32cf021e17ab233
BLAKE2b-256 c94715e8aa034facb0f9b5fa221be746fa93161a896b79c37998fdb101c0c109

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