dos_encrypt


(dos_encrypt  filename  password)

Encrypts and Decrypts the specified file filename using password;

password is a string of 4...512 characters.

Note 1 : without the correct password, an encrypted file can not be decrypted !
Note 2 : starting with V26, the existing (dos_encrypt) function uses a new encryption algorithm, compatible with original McNeill implementation;
therefore, files encrypted using BricsCAD's (dos_encrypt) in version V25 (and before) can not be decrypted anymore with V26 (dos_encrypt)  !
To solve this problem, V26 introduces a new function (dos_encrypt_v25) which uses the "old" V25 (and before) algorithm.

Returns filename when successfully encrypted/decrypted, NIL in case of an error (file not found).


©  Bricsys NV. All rights reserved.