net.lingala.zip4j.crypto
Class AESEncrpyter

java.lang.Object
  extended by net.lingala.zip4j.crypto.AESEncrpyter
All Implemented Interfaces:
IEncrypter

public class AESEncrpyter
extends Object
implements IEncrypter


Constructor Summary
AESEncrpyter(char[] password, int keyStrength)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AESEncrpyter

public AESEncrpyter(char[] password,
                    int keyStrength)
             throws ZipException
Throws:
ZipException
Method Detail

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.