Why This Matters
SpiceCrypt is a Python library that simplifies decrypting LTspice encrypted model files, supporting both text-based and binary formats with automatic detection. Its ease of use and no external dependencies make it a valuable tool for engineers and researchers working with encrypted circuit models, enhancing transparency and collaboration in electronic design. This development could lead to increased accessibility of proprietary models and foster innovation within the electronics community.
Key Takeaways
- Supports decryption of both text-based and binary LTspice files with automatic format detection.
- Easy to install and use via command line or Python API, with no external dependencies.
- Enhances transparency and collaboration by making encrypted models more accessible to users.
SpiceCrypt
A specialized Python library for decrypting LTspice® encrypted model files. It supports both the text-based format ( .CIR / .SUB files using a modified DES variant) and the Binary File format (a two-layer XOR stream cipher), with automatic format detection.
Installation
Install as a tool with uv:
uv tool install git+https://github.com/jtsylve/spice-crypt.git
Or add as a dependency to an existing project:
uv add git+https://github.com/jtsylve/spice-crypt.git
Requirements
Python 3.10 or higher
No external dependencies
... continue reading