Class Archive::Zip::Codec::TraditionalEncryption::Base
In: lib/archive/zip/codec/traditional_encryption.rb
Parent: Object

Methods

new  

Attributes

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.

Public Class methods

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.

[Validate]