encryptFile()
encryptFile(string $filename) : string
Encrypts the content of a given plain file.
Parameters
string | $filename | The full path and name of the file for encryption. |
Throws
- \Exception
Validation errors.
Returns
string —The encrypted file content.