Class | Archive::Zip::Codec::TraditionalEncryption::Base |
In: |
lib/archive/zip/codec/traditional_encryption.rb
|
Parent: | Object |
Archive::Zip::Codec::TraditionalEncryption::Base provides some basic methods which are shared between Archive::Zip::Codec::TraditionalEncryption::Encrypt and Archive::Zip::Codec::TraditionalEncryption::Decrypt.
Do not use this class directly.
io | [R] | The delegate IO-like object. |
mtime | [R] | The last modified time of the entry being encrypted. This is used in the entryption header as a way to check the password. |
password | [R] | The encryption key. |
Creates a new instance of this class. io must be an IO-like object to be used as a delegate for IO operations. password should be the encryption key. mtime must be the last modified time of the entry to be encrypted/decrypted.