Package | Description |
---|---|
net.lingala.zip4j.crypto | |
net.lingala.zip4j.model | |
net.lingala.zip4j.model.enums |
Modifier and Type | Method and Description |
---|---|
static byte[] |
AesCipherUtil.derivePasswordBasedKey(byte[] salt,
char[] password,
AesKeyStrength aesKeyStrength)
Derive Password-Based Key for AES according to AE-1 and AE-2 Specifications
|
static byte[] |
AesCipherUtil.derivePasswordVerifier(byte[] derivedKey,
AesKeyStrength aesKeyStrength)
Derive Password Verifier using Derived Key and requested AES Key Strength
|
static AESEngine |
AesCipherUtil.getAESEngine(byte[] derivedKey,
AesKeyStrength aesKeyStrength)
Get AES Engine using derived key and requested AES Key Strength
|
static MacBasedPRF |
AesCipherUtil.getMacBasedPRF(byte[] derivedKey,
AesKeyStrength aesKeyStrength)
Get MAC-Based PRF using default HMAC Algorithm defined in AE-1 and AE-2 Specification
|
Constructor and Description |
---|
AESEncrypter(char[] password,
AesKeyStrength aesKeyStrength) |
Modifier and Type | Method and Description |
---|---|
AesKeyStrength |
AESExtraDataRecord.getAesKeyStrength() |
AesKeyStrength |
ZipParameters.getAesKeyStrength()
Get the key strength of the AES encryption key
|
Modifier and Type | Method and Description |
---|---|
void |
AESExtraDataRecord.setAesKeyStrength(AesKeyStrength aesKeyStrength) |
void |
ZipParameters.setAesKeyStrength(AesKeyStrength aesKeyStrength)
Set the key strength of the AES encryption key
|
Modifier and Type | Method and Description |
---|---|
static AesKeyStrength |
AesKeyStrength.getAesKeyStrengthFromRawCode(int code)
Get a AesKeyStrength given a code from the ZIP file
|
static AesKeyStrength |
AesKeyStrength.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AesKeyStrength[] |
AesKeyStrength.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.