Modifier and Type | Field and Description |
---|---|
protected int |
hLen |
protected Mac |
mac |
protected String |
macAlgorithm |
Constructor and Description |
---|
MacBasedPRF(String macAlgorithm)
Create Mac-based Pseudo Random Function.
|
MacBasedPRF(String macAlgorithm,
String provider) |
Modifier and Type | Method and Description |
---|---|
byte[] |
doFinal(byte[] M)
Pseudo Random Function
|
int |
getHLen()
Query block size of underlying algorithm/mechanism.
|
void |
init(byte[] P)
Initialize this instance with the user-supplied password.
|
protected Mac mac
protected int hLen
protected String macAlgorithm
public MacBasedPRF(String macAlgorithm)
macAlgorithm
- Mac algorithm to use, i.e. HMacSHA1 or HMacMD5.Copyright © 2018 PerimeterX. All rights reserved.