• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. Encrypting And Decrypting a .il file

Stats

  • Replies 5
  • Subscribers 18
  • Views 12868
  • Members are here 0
More Content

Encrypting And Decrypting a .il file

karthikeyan123
karthikeyan123 over 6 years ago

Hai,

1.I want to encrypt my .il file after encoded i want to run that file i used this code it shown below

(axlCmdRegister "myencrypt" 'myencrypt)
(defun myencrypt ()
(let (file fileparts filepartsFile fileEncParts)
  file = axlDMFileBrowse(nil nil ?optFilters "Skill files (*.il)|*.il|)" ?title "Select Skill file to Encrypt")
  (when file
    (unless (isDir "./encrypt")
       (createDir "./encrypt")
    )
    fileparts = (axlDMFileParts file)
    filepartsFile = (cadr fileparts)
    fileEncParts = (strcat "./encrypt/" filepartsFile "-enc.ile")
    (encrypt file fileEncParts "eUnLock")
  )
))

It shows : E- *Error* load: password required for reading file

I don't know how to run it any one help me please.

2.After the convertion of .il to .ile how to decrypt the .ile file.

I am new to skill any one help me please/

  • Cancel
  • Sign in to reply
  • Ejlersen
    Ejlersen over 6 years ago

    Hi

    Loading a password encrypted skil program require the password.

    load("myprogram.ile" "mypassword")

    You cannot decrypt a skill file that has been encrypted with a password.

    This makes perfect sense since thats the way you can protect your IP.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • karthikeyan123
    karthikeyan123 over 6 years ago in reply to Ejlersen

    Thank you for your reply ejlersen

    what password i want to give i don't give any specific password then where i want to find my password.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 6 years ago in reply to karthikeyan123

    You give the password "eUnLock"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • karthikeyan123
    karthikeyan123 over 6 years ago in reply to Ejlersen

    Thanks  lot Ole  its perfectly working.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • karthikeyan123
    karthikeyan123 over 6 years ago in reply to Ejlersen

    Hai Ole

    I want to add this .ile file in allegro tool menu bar but it is not working please tell me  how to add .ile file in menu bar.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information