Method CryptFile():new() Professional

Creates an instance of the CryptFile class.

Syntax
CryptFile():new([<oCryptProvider>], <oKey>) --> oCryptFile
Parameters
<oCryptProvider>
An instance of a class derived from CryptProvider, such as AesCrypt(). This parameter is optional if the created instance is solely used to decrypt files. In this case, the CryptProvider is determined using the encrypted file header.
<oKey>
An instance of the class SecureKey() or a class derived from SecureKey().
Return

The class method :new() returns a CryptFile object.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.