| 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() |
byte[] |
getHeaderBytes() |
public StandardEncrypter(char[] password,
long key)
throws ZipException
ZipExceptionpublic int encryptData(byte[] buff)
throws ZipException
encryptData in interface EncrypterZipExceptionpublic int encryptData(byte[] buff,
int start,
int len)
throws ZipException
encryptData in interface EncrypterZipExceptionprotected byte encryptByte(byte val)
protected byte[] generateRandomBytes()
public byte[] getHeaderBytes()
Copyright © 2021. All rights reserved.