Class AESEncrypter

java.lang.Object
net.lingala.zip4j.crypto.AESEncrypter
All Implemented Interfaces:
Encrypter

public class AESEncrypter extends Object implements Encrypter
AES Encrypter supports AE-1 and AE-2 encryption using AES-CTR with either 128 or 256 Key Strength
  • Constructor Details

  • Method Details

    • encryptData

      public int encryptData(byte[] buff) throws ZipException
      Specified by:
      encryptData in interface Encrypter
      Throws:
      ZipException
    • encryptData

      public int encryptData(byte[] buff, int start, int len) throws ZipException
      Specified by:
      encryptData in interface Encrypter
      Throws:
      ZipException
    • getFinalMac

      public byte[] getFinalMac()
    • getDerivedPasswordVerifier

      public byte[] getDerivedPasswordVerifier()
    • getSaltBytes

      public byte[] getSaltBytes()