About Encryption

Discussion in 'AutoCAD' started by wjtpt, Jul 16, 2003.

  1. wjtpt

    wjtpt Guest

    I've written a lot of Autolisp programs and I want to know how to encrypt Autolisp programs so that others can't directly view them in text editors or even modify them with malice.
     
    wjtpt, Jul 16, 2003
    #1
  2. wjtpt

    Walt Engle Guest

    I have a Kelv program that encrypts lsp programs - this is the original
    program for this operation. Takes a bit of explanation which is not
    something for this forum. If you want, can send to you via email with
    full explanation.
    W.
     
    Walt Engle, Jul 16, 2003
    #2
  3. wjtpt

    caduser Guest

    use protect.exe provide by autodesk u can protect your lisp routine



    wjtpt <> wrote in message news:...

    I've written a lot of Autolisp programs and I want to know how to encrypt Autolisp programs so that others can't directly view them in text editors or even modify them with malice.
     
    caduser, Jul 16, 2003
    #3
  4. If you have release 2000 or higher, use the vlide-editor (visualLisp editor in acad) and create FAS-files. This give a secure encryption to your applications.
    --
    Jeroen Berkers
    A2k - W98SE



    "wjtpt" <> wrote in message news:...

    I've written a lot of Autolisp programs and I want to know how to encrypt Autolisp programs so that others can't directly view them in text editors or even modify them with malice.
     
    jeroenberkers, Jul 16, 2003
    #4
  5. wjtpt

    Rakesh Rao Guest

    Hello,

    In AutoCAD 2000 and above, you can use Visual Lisp to complile your
    programs into an FAS file or VLX application. This is a binary file and
    cannot be viewed or changed.

    Regards
    Rakesh

    --

    AutoCAD customization for Engineering/Mapping/GIS
    Get GeoTools @ http://www.4d-technologies.com/geotools
    Build MyGeoTools @ http://www.4d-technologies.com/geotools/my_geotools.htm
    FREE downloads : http://www.4d-technologies.com/techcenter
    </PRE>
     
    Rakesh Rao, Jul 16, 2003
    #5
  6. wjtpt

    Ian A. White Guest

    Unfortunately there are many programs to unprotect these around.

    --

    Regards,

    Ian A. White, CPEng

    WAI Engineering
    Sydney 2000
    Australia

    Ph: +61 418 203 229
    Fax: +61 2 9622 0450
    Home Page: www.wai.com.au
     
    Ian A. White, Jul 16, 2003
    #6
  7. wjtpt

    Ian A. White Guest

    Even FAS files are not safe. A while back someone passed me a routine
    to decrypt them, and unfortunately it gave me back the source code very
    clearly.

    KELV.EXE is good as it takes a very long time to re-assemble anything
    that you can use. There are cautions here, and the key is an updated
    KELV.DEF file. The last one I had was for R14. For any routine written
    with 2000 and later you will need it updated to take care of all the VL,
    VLA, VLAX, VLR functions otherwise they will be scrambled and you will
    not be able to run the routine.

    --

    Regards,

    Ian A. White, CPEng

    WAI Engineering
    Sydney 2000
    Australia

    Ph: +61 418 203 229
    Fax: +61 2 9622 0450
    Home Page: www.wai.com.au
     
    Ian A. White, Jul 16, 2003
    #7
  8. wjtpt

    petd Guest

    Ian is the encryption with doslib a good one ?
     
    petd, Jul 16, 2003
    #8
  9. wjtpt

    Kevin Nehls Guest

    Those are still not binary files. They are byte-encoded very similarly
    to how protect did the old "autolisp protected" files. And as such, can
    be decrypted. The only fortunate thing right now is that there isn't a
    program to decrypt these files that's easy to get ahold of. There is
    one out there being worked on and I've seen probably the same program
    Ian has only at a much earlier stage.

    Learning VC++ and programming your applications in ARX is the only true
    way to protect your code.
     
    Kevin Nehls, Jul 16, 2003
    #9
  10. wjtpt

    Ian A. White Guest

    Probably as good as any, but I don't think it works with AutoLISP files
    on the fly. I understand it encrypts the drawing file as a security
    measure (at least when I tried it a while back).

    The problem with PROTECT is that no matter what the "password/key" you
    use, only the first letter is used, and all you have to do is list the
    protected file and it stares you in the face.

    --

    Regards,

    Ian A. White, CPEng

    WAI Engineering
    Sydney 2000
    Australia

    Ph: +61 418 203 229
    Fax: +61 2 9622 0450
    Home Page: www.wai.com.au
     
    Ian A. White, Jul 16, 2003
    #10
  11. wjtpt

    Kevin Nehls Guest

    You don't even need to do that as any (or most) of the decrypt programs out
    there will just do that itself and decrypt the file in just a couple of
    seconds.
     
    Kevin Nehls, Jul 17, 2003
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.