Class ZipCryptoEngine

java.lang.Object
net.lingala.zip4j.crypto.engine.ZipCryptoEngine

public class ZipCryptoEngine extends Object
  • Field Details

    • keys

      private final int[] keys
    • CRC_TABLE

      private static final int[] CRC_TABLE
  • Constructor Details

    • ZipCryptoEngine

      public ZipCryptoEngine()
  • Method Details

    • initKeys

      public void initKeys(char[] password, boolean useUtf8ForPassword)
    • updateKeys

      public void updateKeys(byte charAt)
    • crc32

      private int crc32(int oldCrc, byte charAt)
    • decryptByte

      public byte decryptByte()