PHP » GoLang |
login |
register |
about
|
GoLang ZipArchive::setEncryptionName
request it (341)
GoLang replacement for PHP's ZipArchive::setEncryptionName
[edit | history]
PHP ZipArchive::setEncryptionNamePHP original manual for ZipArchive::setEncryptionName [ show | php.net ]ZipArchive::setEncryptionName(PHP >= 7.2.0, PECL zip >= 1.14.0) ZipArchive::setEncryptionName — Set the encryption method of an entry defined by its name Description
bool
ZipArchive::setEncryptionName
( string
$name
, int $method
[, string $password
] )Set the encryption method of an entry defined by its name. Parameters
Return Values
Returns ExamplesThis example creates a ZIP file archive test.zip and add the file test.txt encrypted using the AES 256 method. Example #1 Archive and encrypt a file
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|