• 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. How to Encrypt SKILL File

Stats

  • Replies 3
  • Subscribers 17
  • Views 11709
  • Members are here 0
More Content

How to Encrypt SKILL File

EMperson
EMperson over 7 years ago

I have a SKILL file I want to encrypt. I found an encrypt function, but I don't understand how it works. Any advice, or sample code/pseudo-code would be great.

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 7 years ago

    It depends why you are wanting to encrypt the code. Use the encrypt command to encrypt the code so that a password is needed to run it. This offers some protection for your IP but not much. You then need to use "load" with the password option. Probably what you want to do is create a context file. Check out the documentation for this and ask if you can't get it to work.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • eDave
    eDave over 7 years ago

    It depends why you are wanting to encrypt the code. Use the encrypt command to encrypt the code so that a password is needed to run it. This offers some protection for your IP but not much. You then need to use "load" with the password option. Probably what you want to do is create a context file. Check out the documentation for this and ask if you can't get it to work.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • EMperson
    EMperson over 7 years ago in reply to eDave

    So a few things...

    1) I want my user to be able to use my SKILL code, but not view it or change it. I don't know if the encrypt function should be inside the file I want to encrypt, or in a different file?

    2) You mentioned that the encrypt command does not really protect my IP.. why is that?

    3) What is a better way of encrypting my SKILL file?

    Thank you so much!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago in reply to EMperson

    If you use encrypt your users won't be able to easily read or edit the file. The encryption is very basic so a keen user would be able to read the code if they know what they're doing I think.

    You encrypt to a different file from the original.

    Creating a context file provides much better security if you are worried about IP.

    • 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