CipherDex
CipherDex is a powerful command-line toolkit for encryption, decryption, and cryptanalysis of classical ciphers.
Explore, analyze, and break classical ciphers directly from your terminal.
Installation
pip install cipherdex
Usage
Encrypt text
cipherdex encrypt --algo caesar "hello world" --key 3
Decrypt text
cipherdex decrypt --algo caesar "khoor zruog" --key 3
AES encrypt/decrypt
cipherdex encrypt --algo aes --key <BASE64_KEY> "hello world"
cipherdex decrypt --algo aes --key <BASE64_KEY> <BASE64_CIPHERTEXT>
AES-Password encrypt/decrypt (password-based)
cipherdex encrypt --algo aes-password --password "mypassword" "hello world"
cipherdex decrypt --algo aes-password --password "mypassword" <BASE64_CIPHERTEXT>
RSA encrypt/decrypt
cipherdex encrypt --algo rsa --pub-key-file pub.pem "secret message"
cipherdex decrypt --algo rsa --private-key-file priv.pem <BASE64_CIPHERTEXT>
Generate key
cipherdex generate-key --algo aes
cipherdex generate-key --algo rsa
Hash data
cipherdex hash --algo sha256 "hello world"
cipherdex hash --algo sha256 --file data.txt
cipherdex hash --algo bcrypt "password"
cipherdex hash --algo argon2 "password"
Analyze text
cipherdex analyze "khoor zruog"
Detect cipher
cipherdex detect "khoor zruog"
Bruteforce Caesar cipher
cipherdex bruteforce "khoor"
Features
-
Multiple cipher support:
- Caesar, ROT13, Atbash
- Vigenère, Affine
- Playfair, Rail Fence
- AES-GCM and RSA (modern encryption)
-
Letter frequency analysis
-
Index of Coincidence (IC)
-
Cipher detection heuristics
-
Brute-force attack tools
-
File input/output support
-
Rich CLI output
Disclaimer
This tool is for educational purposes only. The ciphers implemented are not secure for real-world encryption.
Author
Varun
License
MIT License
Metadata
Release files for cipherdex 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cipherdex-0.2.0.tar.gz | 13.5 kB | Without provenance | Details for cipherdex-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cipherdex-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cipherdex-0.2.0-py3-none-any.whl |
Total release size: 25.7 kB
Release files / cipherdex-0.2.0.tar.gz
| Download URL | cipherdex-0.2.0.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d07b7e8532d80dc0b7bd5cf2a6e308c262664c6132a27e072cbe61e3e0803fe
|
|
BLAKE2b-256 checksum How to use checksums |
c0a116dc1c41df265ebe7e9bdb13c7d1d41190f31cc559ed5f67420d1e022ba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / cipherdex-0.2.0-py3-none-any.whl
| Download URL | cipherdex-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00a7dbb2bf7cb13f49d6142d8e512093e831626c2950a22173a563398072bd19
|
|
BLAKE2b-256 checksum How to use checksums |
415dc9efad793174881d080fe8c32fe075036453cdbf4c70d2cb7485308347e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for cipherdex 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.