public class AESEncrpyter extends java.lang.Object implements IEncrypter
构造器和说明 |
---|
AESEncrpyter(char[] password,
int keyStrength) |
限定符和类型 | 方法和说明 |
---|---|
int |
encryptData(byte[] buff) |
int |
encryptData(byte[] buff,
int start,
int len) |
byte[] |
getDerivedPasswordVerifier() |
byte[] |
getFinalMac() |
int |
getPasswordVeriifierLength() |
byte[] |
getSaltBytes() |
int |
getSaltLength() |
void |
setDerivedPasswordVerifier(byte[] derivedPasswordVerifier) |
void |
setSaltBytes(byte[] saltBytes) |
public AESEncrpyter(char[] password, int keyStrength) throws ZipException
ZipException
public int encryptData(byte[] buff) throws ZipException
encryptData
在接口中 IEncrypter
ZipException
public int encryptData(byte[] buff, int start, int len) throws ZipException
encryptData
在接口中 IEncrypter
ZipException
public byte[] getFinalMac()
public byte[] getDerivedPasswordVerifier()
public void setDerivedPasswordVerifier(byte[] derivedPasswordVerifier)
public byte[] getSaltBytes()
public void setSaltBytes(byte[] saltBytes)
public int getSaltLength()
public int getPasswordVeriifierLength()