(protect)
Protect the file by encrypting it.
This function protects LISP code from being read by unauthorized users. First the function copies the file named in string to create a backup of the original file with the file extension ".original". Next the function encrypts the contents of the original file. The newly encrypted file is a binary output file with "progeCAD PROTECTED LISP file" in the first line of the file and the remainder in binary bits.
Example
| Code | Output Files |
|---|---|
| (protect "d:/sampleLisp.lsp") | d:/sampleLisp.lsp .original (not encrypted) d:/sampleLisp.lsp (encrypted) |
CAUTION Keep the copied file with the .orangial file extension. After a file is encrypted, there is no way to remove the encryption and read the file contents.
Tell me about...
Programming Overview of LISP (LISt Processing) Language
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español