How to encrypt lib or schematic in LTspice

Requirement is to forward the schematic to vendor for this purpose looking a way to encrypt the Spice Netlist and forward to them for further validation.

Tried LTSpicehelp section 'Encrypted Libraries' but it did not help. I am not sure where the mistake is. I observed below error

'XVIIx64.exe' is not recognized as an internal or external command, operable program or batch file.

I do not have basic knowledge related to command prompt, Can I get detailed steps  or a video link for encryption



No change
[edited by: Sunil_Kumar at 6:56 AM (GMT -4) on 24 Sep 2021]

Top Replies

    •  Analog Employees 
    Sep 28, 2021 +1 verified

    Hi Sunil_Kumar,

    SPICE model encryption is performed with the LTspice command using the Windows command prompt.

    Start the command prompt from “Windows System Tools” of the start menu.

    Change…

  • +1
    •  Analog Employees 
    on Sep 28, 2021 9:17 AM

    Hi Sunil_Kumar,

    SPICE model encryption is performed with the LTspice command using the Windows command prompt.

    Start the command prompt from “Windows System Tools” of the start menu.

    Change to the directory where LTspice XVII is installed at the command prompt.

    Type

    cd C:\Program Files\LTC\LTspiceXVII

     

    Because it is used for the command which encrypts the SPICE model, copy the path of the file of the SPICE model that you want to encrypt.

    Execute the command “XVIIx64.exe -encrypt file path” to encrypt the SPICE model.

    Type

    XVIIx64.exe -encrypt "file path"

    Example:
    XVIIx64.exe -encrypt "C:\Users\USER\Documents\LTspiceXVII\lib\sub\Analog_Devices\ad8610.cir"





    The above screen appears, and encryption starts. Depending on the size of the SPICE model and the environment of the PC used, the encryption time will take about 2 to 5 minutes.



    When encryption is completed, the above screen appears. Click “OK” to complete all the work.

    When you open the encrypted SPICE model file, you can see that it has been changed to a hexadecimal list.

    I hope these steps will help you.