xzip

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeCompressZip

func DeCompressZip(zipFile, dest, passwd string, offset int64) error

DeCompressZip 解压zip包

func ZipCryptoDecryptor

func ZipCryptoDecryptor(r *io.SectionReader, password []byte) (*io.SectionReader, error)

Types

type ZipCrypto

type ZipCrypto struct {
	Keys [3]uint32
	// contains filtered or unexported fields
}

func NewZipCrypto

func NewZipCrypto(passphrase []byte) *ZipCrypto

func (*ZipCrypto) Decrypt

func (z *ZipCrypto) Decrypt(chiper []byte) []byte

func (*ZipCrypto) Encrypt

func (z *ZipCrypto) Encrypt(data []byte) []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL