Next: decFile
Up: Methods
Previous: desDecode
Contents
encFile
Description
Encrypts a disk file. A file encrypted by this method can be decrypted by the method
decFile. Static
Syntax
Encryption.encFile(key, inputFile, outputFile);
Parameters
- key
- String. An unique key used to encrypt files
- inputFile
- String. Specifies a disk file to encrypt
- outputFile
- String. Specifies a disk file to save the encrypted data
Returns
Boolean. Returns true if successful; otherwise returns false;
Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.