Skip to content
Tech News
← Back to articles

SpiceCrypt: A Python library for decrypting LTspice encrypted model files

read original more articles
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

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