net.lingala.zip4j.crypto
Class AESEncrpyter
java.lang.Object
net.lingala.zip4j.crypto.AESEncrpyter
- All Implemented Interfaces:
- IEncrypter
public class AESEncrpyter
- extends Object
- implements IEncrypter
Constructor Summary |
AESEncrpyter(char[] password,
int keyStrength)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AESEncrpyter
public AESEncrpyter(char[] password,
int keyStrength)
throws ZipException
- Throws:
ZipException
encryptData
public int encryptData(byte[] buff)
throws ZipException
- Specified by:
encryptData
in interface IEncrypter
- Throws:
ZipException
encryptData
public int encryptData(byte[] buff,
int start,
int len)
throws ZipException
- Specified by:
encryptData
in interface IEncrypter
- Throws:
ZipException
getFinalMac
public byte[] getFinalMac()
getDerivedPasswordVerifier
public byte[] getDerivedPasswordVerifier()
setDerivedPasswordVerifier
public void setDerivedPasswordVerifier(byte[] derivedPasswordVerifier)
getSaltBytes
public byte[] getSaltBytes()
setSaltBytes
public void setSaltBytes(byte[] saltBytes)
getSaltLength
public int getSaltLength()
getPasswordVeriifierLength
public int getPasswordVeriifierLength()
Copyright © 2012. All Rights Reserved.