net.lingala.zip4j.crypto.PBKDF2
Class MacBasedPRF

java.lang.Object
  extended by net.lingala.zip4j.crypto.PBKDF2.MacBasedPRF

public class MacBasedPRF
extends Object


Field Summary
protected  int hLen
           
protected  Mac mac
           
protected  String macAlgorithm
           
 
Constructor Summary
MacBasedPRF(String macAlgorithm)
           
MacBasedPRF(String macAlgorithm, String provider)
           
 
Method Summary
 byte[] doFinal()
           
 byte[] doFinal(byte[] M)
           
 int getHLen()
           
 void init(byte[] P)
           
 void update(byte[] U)
           
 void update(byte[] U, int start, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mac

protected Mac mac

hLen

protected int hLen

macAlgorithm

protected String macAlgorithm
Constructor Detail

MacBasedPRF

public MacBasedPRF(String macAlgorithm)

MacBasedPRF

public MacBasedPRF(String macAlgorithm,
                   String provider)
Method Detail

doFinal

public byte[] doFinal(byte[] M)

doFinal

public byte[] doFinal()

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)


Copyright © 2012. All Rights Reserved.