pyDes
Pure python implementation of DES and TRIPLE DES encryption algorithm
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that specifically requires DES decryption. The package is abandoned with no maintenance since 2016, and DES is cryptographically broken. For new encryption needs, use modern alternatives. For legacy compatibility, verify whether a maintained fork exists first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- DES and Triple DES are cryptographically broken and should not be used for new security-sensitive applications; this package is suitable only for legacy system compatibility or educational purposes.
- High install friction: the package is abandoned (last release 2016-05-06, no updates in 3752 days) with no active maintenance.
- Installation requires building from source tarball with no runtime dependencies to smooth the process.
License · maintenance · safety
Public Domain (permissive) — Public Domain license places no restrictions on use, modification, or redistribution—you may use this code freely in any context without attribution or licensing obligations.
last release 2016-05-06 (3752 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 218,011 downloads/mo, #9,346 on PyPI
Alternatives
Verify before relying
pip install pyDes
from pyDes import des, triple_des
key = b'encryption_key'
cipher = des(key)
encrypted = cipher.encrypt(b'plaintext')- Whether this implementation has been audited for constant-time or side-channel resistance.
- Current real-world usage patterns and whether any active forks or maintained alternatives exist.
- Specific Python version compatibility beyond the unspecified classifier declarations.
What it is and what it does
pyDes is a pure Python implementation of the DES and Triple DES block cipher algorithms. It provides both DES-EDE3 with a 24 byte key and DES-EDE2 with a 16 byte key for symmetric encryption and decryption. The package has no external runtime dependencies and works with both Python 2 and Python 3, making it portable across environments.
The package is classified as mature but has been abandoned since its single release on 2016-05-06. DES itself is cryptographically broken by modern standards and should not be used for new security-critical applications. This package is most useful for decrypting legacy data, interfacing with older systems that still use DES, or educational exploration of symmetric encryption—not for protecting sensitive information in new systems.
Use it for
- Decrypt legacy data or files encrypted with DES or Triple DES from older systems.
- Integrate with legacy applications or protocols that require DES cipher support.
- Educational study of symmetric encryption algorithms and block cipher operation modes.
- Reverse-engineer or analyze existing DES-encrypted communications in a controlled environment.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that specifically requires DES decryption.
The package is abandoned with no maintenance since 2016, and DES is cryptographically broken. For new encryption needs, use modern alternatives. For legacy compatibility, verify whether a maintained fork exists first.
Install
pydes on PyPI
Before you install
High install friction: the package is abandoned (last release 2016-05-06, no updates in 3752 days) with no active maintenance. Installation requires building from source tarball with no runtime dependencies to smooth the process.
DES and Triple DES are cryptographically broken and should not be used for new security-sensitive applications; this package is suitable only for legacy system compatibility or educational purposes.
License in practice
Public Domain license places no restrictions on use, modification, or redistribution—you may use this code freely in any context without attribution or licensing obligations.
Quickstart
pip install pyDes
from pyDes import des, triple_des
key = b'encryption_key'
cipher = des(key)
encrypted = cipher.encrypt(b'plaintext')
Verify before relying
- Whether this implementation has been audited for constant-time or side-channel resistance.
- Current real-world usage patterns and whether any active forks or maintained alternatives exist.
- Specific Python version compatibility beyond the unspecified classifier declarations.
Package facts
| License | Public Domain permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,752 days since the last release |
| First released | |
| Downloads | 218,011 / month, #9,346 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureLicense :: Public DomainProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Security :: Cryptography |
Evidence: pyDes-2.0.1.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “DES encryption python”
- pyDesPure Python implementation of DES and Triple DES encryption…
- pycryptoProvides cryptographic hash functions (SHA256, RIPEMD160) and…
- salabimSalabim is a Python library for discrete event simulation (DES) that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also py3rijndael · twofish · xxtea · spake2 · pyaes · ff3 · gmssl · pyscrypt · pyffx · aes-pkcs5