Constructor and Description |
---|
StandardEncrypter(char[] password,
long key) |
Modifier and Type | Method and Description |
---|---|
protected byte |
encryptByte(byte val) |
int |
encryptData(byte[] buff) |
int |
encryptData(byte[] buff,
int start,
int len) |
protected byte[] |
generateRandomBytes(int size) |
byte[] |
getHeaderBytes() |
public StandardEncrypter(char[] password, long key) throws ZipException
ZipException
public int encryptData(byte[] buff) throws ZipException
encryptData
in interface Encrypter
ZipException
public int encryptData(byte[] buff, int start, int len) throws ZipException
encryptData
in interface Encrypter
ZipException
protected byte encryptByte(byte val)
protected byte[] generateRandomBytes(int size) throws ZipException
ZipException
public byte[] getHeaderBytes()
Copyright © 2019. All rights reserved.