LTSpice encrypting

Thread Starter

FuseFuse

Joined Feb 8, 2017
37
Hello,

I have a LTSpice .sub file that I want to encrypt. There is a .asy file based on that .sub file.
How can I get it without installing any dedicated software encrypter?

Thanks
 

Papabravo

Joined Feb 24, 2006
22,081
Are you asking how you can encrypt the file so that LTspice can use the file? If so, you might be out of luck if you don't know what algorithm LTspice uses to decrypt such files.
 

Ya’akov

Joined Jan 27, 2019
10,233
From the LTSpice Manual:

To prepare an encrypted library, you need to invoke LTspice from the command line with the command line option "-encrypt". You will need to first backup the library because it will be replaced with the encrypted version. THERE EXISTS NO UTILITY TO CONVERT AN ENCRYPTED LIBRARY BACK TO CLEAR TEXT. Below summarizes the two steps:

1. Make a backup copy of the library. The version you encrypt is deleted.
2. From a command line, type \XVIIx64.exe -encrypt <filename>

The file <filename> will be replaced with an encrypted version. The encryption process will take a few minutes. One this process is finished, you have an encrypted ASCII file. It's possible to add a copyright notice above the "* Begin:" line, but the first 9 lines of the file must remain unchanged and each line of copyright notice you add must begin with the character “*”
Why didn’t you just look in the manual?
 

Papabravo

Joined Feb 24, 2006
22,081
A pox on everybody that does have a use for encrypted LTspice library files. I won't use your files and I certainly won't use your products.
 

Thread Starter

FuseFuse

Joined Feb 8, 2017
37
Are you asking how you can encrypt the file so that LTspice can use the file? If so, you might be out of luck if you don't know what algorithm LTspice uses to decrypt such files.
Yes, of course. My purpose is to hide details of my development and to keep on using a working file in a schematic.
Online research didn't bring any good idea on how to get it.
 

Papabravo

Joined Feb 24, 2006
22,081
Yes, of course. My purpose is to hide details of my development and to keep on using a working file in a schematic.
Online research didn't bring any good idea on how to get it.
Well post #3 gave you the magic key. Use it carefully.
You've perhaps heard of the folks who have lost the keys to their crypto fortunes. Wouldn't want you to suffer that, or a similar fate.
 
Top