⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Refactor encryption, adding AES-128, -192 and -256 write support#7

Merged
thekid merged 3 commits intomasterfrom
feature/encrypt
Dec 12, 2025
Merged

Refactor encryption, adding AES-128, -192 and -256 write support#7
thekid merged 3 commits intomasterfrom
feature/encrypt

Conversation

@thekid
Copy link
Member

@thekid thekid commented Dec 7, 2025

Example

use io\archive\zip\{ZipFile, ZipFileEntry, Encryption};
use io\File;

$z= ZipFile::create(new File('encrypted.zip'))->encryptWith(Encryption::aes($secret, 256));

$file= $z->add(new ZipFileEntry('password.txt'));
$file->out()->write($contents);

$z->close();

See also

@thekid thekid merged commit 9e39aa6 into master Dec 12, 2025
22 checks passed
@thekid thekid deleted the feature/encrypt branch December 12, 2025 19:18
@thekid
Copy link
Member Author

thekid commented Dec 12, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant