Class: Zip::NullEncrypter

Inherits:
Encrypter show all
Includes:
NullEncryption
Defined in:
lib/zip/crypto/null_encryption.rb

Instance Method Summary collapse

Methods included from NullEncryption

#gp_flags, #header_bytesize

Instance Method Details

#data_descriptor(_crc32, _compressed_size, _uncomprssed_size) ⇒ Object



23
24
25
# File 'lib/zip/crypto/null_encryption.rb', line 23

def data_descriptor(_crc32, _compressed_size, _uncomprssed_size)
  ''
end

#encrypt(data) ⇒ Object



19
20
21
# File 'lib/zip/crypto/null_encryption.rb', line 19

def encrypt(data)
  data
end

#header(_mtime) ⇒ Object



15
16
17
# File 'lib/zip/crypto/null_encryption.rb', line 15

def header(_mtime)
  ''
end

#reset!Object



27
# File 'lib/zip/crypto/null_encryption.rb', line 27

def reset!; end