(PECL rar >= 2.0.0)
RarEntry::isEncrypted — Test whether an entry is encrypted
public RarEntry::isEncrypted ( ) : bool
Tests whether the current entry contents are encrypted.
Note:
The password used may differ between files inside the same RAR archive.
This function has no parameters.
Returns true
if the current entry is encrypted and false
otherwise.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/rarentry.isencrypted.php