5 ms·
SpiceCrypt: A Python library for decrypting LTspice encrypted model files
- userbinator 7mo agoThe file header contains two 32-bit keys used to derive a substitution table index and step value for decryption. In other words, obfuscation.
- matthewdipo 7mo ago[dead]
- rshm 7mo agoComing from a brief failed attempt of using ghidra to see if keys were part of binary, this is a welcome news. Next on wishlist is someone doing the same for encrypted fpga verilog blobs.
- Schlagbohrer 7mo agoyes please. I want to destroy the business model of making me pay money for hardware (understandable because it is made of atoms) and then making me pay for software blocks / DLC to be able to use the hardware
- snthpy 7mo agoWhat is LTspice?
- flowerthoughts 7mo agoIt's one of the most widely used electronic circuit simulator. It's basically a graphical interface to wire up differential equations, together with physical models of components (mostly semiconductors.) There are other SPICE implementations, but Linear Technologies provides this program for free, and lots of manufacturers provide LTspice models for their components (of varying quality.)
- snthpy 7mo agoCool, thanks.
- ur-whale 7mo ago> What is LTspice? It's the best circuit simulator, whose creators did pretty much everything right with the following exceptions: - using the wrong key for undo - failing to understand that open-sourcing their baby would have made it 10 times better and 10 times more popular. But when you grow up in the hardware world, these concepts are very, very hard to understand.
- _fizz_buzz_ 7mo agoLTSpice is awesome, but the user interface is an acquired taste ...
- IshKebab 7mo agoSeems to be standard in the EDA world. Look up how you copy/paste in Eagle. Or what happens to wires when you move a component in a KiCAD schematic.
- willis936 7mo agoA few minor things: Last year LTSpice actually switched to sane hotkeys. Hell has frozen over and our hands rejoice. We should be careful with "best" without more qualifiers. It's a swiss army knife, but not very sharp. It's no replacement for an RF suite.
- Archit3ch 7mo ago> best circuit simulator QSPICE (made by the author of LTspice) claims to be 10x faster. Also, LTspice cannot do symbolic transformations, so that places an upper limit to its utility.
- Schlagbohrer 7mo agoNow if only they could decrypt Texas Instruments' models
- jtsylve 7mo agoFile a feature request on github with some background details and I'll look into it!
- jtsylve 7mo agoI've got it working. Will update soon.
- Schlagbohrer 7mo agoWow!
- jtsylve 7mo agov2 Adds support for PSpice, which should hopefully cover the TI models. Let me know if not. https://github.com/jtsylve/spice-crypt https://github.com/jtsylve/spice-crypt
- jtsylve 7mo agoThis is my work. Thanks for sharing! I'm happy to answer any questions, and feedback and requests are welcome.
- hananova 7mo agoA deep thanks for the choice of license. I’m also curious how long until you get a DMCA claim (despite the well-reasoned legal basis as described in the readme.)
- jtsylve 7mo agoA baseless claim may come (and if so, I'll write about it), but this use case is the textbook example of why these exemptions exist, so I can't see how any legal threats could be actionable.