Posted By: Jeremy Bopp
Date: 2008-08-08 22:06
Summary: Archive::Zip 0.2.0 Released
Project: Archive::Zip
Archive::Zip version 0.2.0 is now available.
Example
require 'archive/zip'
require 'archive/zip/codec/traditional_encryption'
# Create an encrypted archive.
Archive::Zip.archive(
'example.zip',
'some_directory',
:encryption_codec => Archive::Zip::Codec::TraditionalEncryption,
:password => 'seakrit'
)
# Extract the archive.
Archive::Zip.extract(
'example.zip',
'extract_directory',
:password => 'seakrit'
)
Features
* Traditional (weak) encryption is supported.
* A framework for adding more encryption methods is mostly in place.
Fixes
* The compression and encryption codecs of archive entries are now recorded when
parsing an archive.
|
|