Package net.lingala.zip4j.crypto.PBKDF2
Class MacBasedPRF
java.lang.Object
net.lingala.zip4j.crypto.PBKDF2.MacBasedPRF
- All Implemented Interfaces:
PRF
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Mac
private String
private ByteArrayOutputStream
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mac
-
hLen
private int hLen -
macAlgorithm
-
macCache
-
-
Constructor Details
-
MacBasedPRF
-
-
Method Details
-
doFinal
public byte[] doFinal(byte[] M) -
doFinal
public byte[] doFinal() -
doFinal
public byte[] doFinal(int numberOfBytesToPushbackForMac) -
getHLen
public int getHLen() -
init
public void init(byte[] P) -
update
public void update(byte[] u) -
update
public void update(byte[] u, int start, int len) -
doMacUpdate
private void doMacUpdate(int numberOfBytesToPushBack)
-