Package net.lingala.zip4j.crypto
Class AESDecrypter
java.lang.Object
net.lingala.zip4j.crypto.AESDecrypter
- All Implemented Interfaces:
Decrypter
AES Decrypter supports AE-1 and AE-2 decryption for AES-CTR with 128, 192, or 256 Key Strength
-
Constructor Summary
ConstructorsConstructorDescriptionAESDecrypter(AESExtraDataRecord aesExtraDataRecord, char[] password, byte[] salt, byte[] passwordVerifier, boolean useUtf8ForPassword) -
Method Summary
Modifier and TypeMethodDescriptionintdecryptData(byte[] buff, int start, int len) byte[]getCalculatedAuthenticationBytes(int numberOfBytesPushedBack)
-
Constructor Details
-
AESDecrypter
public AESDecrypter(AESExtraDataRecord aesExtraDataRecord, char[] password, byte[] salt, byte[] passwordVerifier, boolean useUtf8ForPassword) throws ZipException - Throws:
ZipException
-
-
Method Details
-
decryptData
- Specified by:
decryptDatain interfaceDecrypter- Throws:
ZipException
-
getCalculatedAuthenticationBytes
public byte[] getCalculatedAuthenticationBytes(int numberOfBytesPushedBack)
-