Package net.lingala.zip4j.crypto.PBKDF2
Class PBKDF2Parameters
java.lang.Object
net.lingala.zip4j.crypto.PBKDF2.PBKDF2Parameters
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPBKDF2Parameters
(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount) PBKDF2Parameters
(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount, byte[] derivedKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
byte[]
getSalt()
void
setDerivedKey
(byte[] derivedKey) void
setHashAlgorithm
(String hashAlgorithm) void
setHashCharset
(String hashCharset) void
setIterationCount
(int iterationCount) void
setSalt
(byte[] salt)
-
Field Details
-
salt
protected byte[] salt -
iterationCount
protected int iterationCount -
hashAlgorithm
-
hashCharset
-
derivedKey
protected byte[] derivedKey
-
-
Constructor Details
-
PBKDF2Parameters
public PBKDF2Parameters() -
PBKDF2Parameters
-
PBKDF2Parameters
-
-
Method Details
-
getIterationCount
public int getIterationCount() -
setIterationCount
public void setIterationCount(int iterationCount) -
getSalt
public byte[] getSalt() -
setSalt
public void setSalt(byte[] salt) -
getDerivedKey
public byte[] getDerivedKey() -
setDerivedKey
public void setDerivedKey(byte[] derivedKey) -
getHashAlgorithm
-
setHashAlgorithm
-
getHashCharset
-
setHashCharset
-