March 15, 2026
They cracked the spice rack
SpiceCrypt: A Python library for decrypting LTspice encrypted model files
Locked LTspice models popped open — hackers cheer, vendors sweat
TLDR: SpiceCrypt says it can unlock LTspice’s encrypted circuit models so they work in other simulators. Commenters are split between calling the protection “just obfuscation,” cheering a win for open tools, and asking what LTspice even is—while some brace for a showdown with vendors over locked files.
The internet’s “spice rack” just got raided. A new Python tool called SpiceCrypt claims it can unlock those secret LTspice model files—the ones that only work inside Analog Devices’ circuit simulator—so people can run them in other tools. It’s simple, no add‑ons, and works from the command line or code. The devs say it untangles a tweaked old-school cipher and spits out readable text. Translation: take a locked part model, make it usable elsewhere. GitHub is here: SpiceCrypt. Curious what LTspice is? It’s a free app for simulating electronic circuits from Analog Devices: LTspice.
Cue the comment fireworks. One user shrugged that the “encryption” is just obfuscation, while others celebrated a long-awaited jailbreak for open tools like NGSpice and Xyce—“finally, I can use vendor parts without being stuck in one app.” Another confessed they tried reverse-engineering with Ghidra and failed, calling this release “welcome news.” The wish list escalated fast: “next, crack those encrypted FPGA Verilog blobs,” joked one commenter. And in a perfect internet moment, someone asked, “What is LTspice?”—which spawned a mini explainer thread and a parade of spice puns. Between freedom fighters chanting “free the models” and folks predicting corporate pushback, the vibe is half victory lap, half legal cliffhanger. Either way, the popcorn’s out and the spice wars are on.
Key Points
- •SpiceCrypt decrypts LTspice-encrypted .CIR/.SUB files using a custom-modified DES scheme.
- •It offers both a CLI (spice-decrypt) and Python APIs (decrypt, decrypt_stream), with auto-detection of LTspice format.
- •Installation is via uv (tool install or add), and the project requires Python 3.10+ with no external dependencies.
- •The LTspice encrypted file format includes a 1024-byte crypto table, ciphertext blocks, and End-line CRC-based checksums.
- •Detailed technical specification (key derivation, pre-DES layer, DES deviations, integrity checks) is provided in SPECIFICATION.md.