Class ZipCryptoEngine
java.lang.Object
net.lingala.zip4j.crypto.engine.ZipCryptoEngine
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcrc32(int oldCrc, byte charAt) bytevoidinitKeys(char[] password, boolean useUtf8ForPassword) voidupdateKeys(byte charAt)
-
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()
-