Package org.gudy.bouncycastle.crypto
Interface DerivationFunction
- All Known Implementing Classes:
BaseKDFBytesGenerator
,KDF2BytesGenerator
,MGF1BytesGenerator
public interface DerivationFunction
base interface for general purpose byte derivation functions.
-
Method Summary
Modifier and TypeMethodDescriptionint
generateBytes
(byte[] out, int outOff, int len) return the message digest used as the basis for the functionvoid
init
(DerivationParameters param)
-
Method Details
-
init
-
getDigest
Digest getDigest()return the message digest used as the basis for the function -
generateBytes
int generateBytes(byte[] out, int outOff, int len) throws DataLengthException, IllegalArgumentException
-