Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSingleFileSystem.ChangeEncryption
TSingleFileSystem
Top 


Changes encryption of a single file system.

function ChangeEncryption(NewPassword: string = ''; NewQuestion: string = '';NewAnswer: string = ''): Boolean;

Description
Call ChangeEncryption to encrypt or decrypt single file system, or to change its password, question and answer.

The NewPassword parameter value different from default blank string indicates that the data is to be encrypted by this password. If NewPassword is blank then the file is decrypted.

The NewQuestion parameter indicates a question that may be asked if a user forgot his / her password to recover the password.

The NewAnswer parameter indicates an answer that must be given by a user to recover his/her forgotten password.

Result is True if change encryption process was successful and False otherwise.

Note:
Changing encryption process may take a long time if you work with large data. You may set the OnProgress event handler to provide the user with a feedback about the progress of the potentially slow process.


© 2000-2004 AidAim Software LLC Single File System: