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
  • Field Details

    • aesEngine

      private AESEngine aesEngine
    • mac

      private MacBasedPRF mac
    • random

      private final SecureRandom random
    • finished

      private boolean finished
    • nonce

      private int nonce
    • loopCount

      private int loopCount
    • iv

      private final byte[] iv
    • counterBlock

      private final byte[] counterBlock
    • derivedPasswordVerifier

      private byte[] derivedPasswordVerifier
    • saltBytes

      private byte[] saltBytes
  • Constructor Details

  • Method Details