Package net.lingala.zip4j.crypto.PBKDF2
Class MacBasedPRF
- java.lang.Object
-
- net.lingala.zip4j.crypto.PBKDF2.MacBasedPRF
-
public class MacBasedPRF extends Object
-
-
Constructor Summary
Constructors Constructor Description MacBasedPRF(String macAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
doFinal()
byte[]
doFinal(byte[] M)
byte[]
doFinal(int numberOfBytesToPushbackForMac)
int
getHLen()
void
init(byte[] P)
void
update(byte[] u)
void
update(byte[] u, int start, int len)
-
-
-
Constructor Detail
-
MacBasedPRF
public MacBasedPRF(String macAlgorithm)
-
-
Method Detail
-
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)
-
-