{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Provides Python bindings to the Twofish block cipher for encrypting and decrypting 16-byte blocks with keys up to 32 bytes.","skillfed_tags":["abandoned","legacy-crypto"],"use_cases":["Legacy system integration where Twofish is mandated by existing protocols or data formats","Educational exploration of block cipher mechanics and symmetric encryption primitives","Decryption of historical data encrypted with Twofish in a supported cipher mode"],"what_it_does":"Twofish is a Python wrapper around the Twofish block cipher, a symmetric encryption algorithm designed by Niels Ferguson. It exposes a simple API: create a Twofish instance with a binary key (0\u201332 bytes), then call encrypt() and decrypt() on 16-byte blocks. The library performs a self-test on import to verify the underlying C implementation.\n\nThis is a low-level cryptographic primitive, not a complete cipher system. The documentation explicitly warns that it must be used within a proper cipher mode (CTR, CBC, etc.) to be secure; using it directly on plaintext is cryptographically unsafe. The package is unmaintained since 2013 and archived, with no support for modern Python versions beyond 3.3.","worth_installing":"No. The package is abandoned, unmaintained since 2013, and documented only for end-of-life Python versions (2.6\u20133.3). Modern Python compatibility is unverified. High install friction (compiled C extension + system library) and the explicit warning that it requires external cipher-mode wrapping make it unsuitable for new projects. Use a maintained cryptography library like cryptography or PyCryptodome instead."},"id":"twofish","links":{"html":"https://skillfed.io/packages/twofish","md":"https://skillfed.io/packages/twofish.md","pypi":"https://pypi.org/project/twofish/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2013-11-15","license_spdx":null,"license_treatment":"permissive","name":"twofish","python_support":"unspecified","summary":"Bindings for the Twofish implementation by Niels Ferguson"},"popularity":{"monthly_downloads":462586,"position":6525,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
