Package org.jose4j.jwe.kdf
Class PasswordBasedKeyDerivationFunction2
java.lang.Object
org.jose4j.jwe.kdf.PasswordBasedKeyDerivationFunction2
An implementation of PBKDF2 from RFC 2898 using HMAC as the underlying pseudorandom function.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PasswordBasedKeyDerivationFunction2
-
-
Method Details
-
derive
public byte[] derive(byte[] password, byte[] salt, int iterationCount, int dkLen) throws JoseException - Throws:
JoseException
-
derive
public byte[] derive(byte[] password, byte[] salt, int iterationCount, int dkLen, String provider) throws JoseException - Throws:
JoseException
-