aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/DerivationFunction.java
blob: b8e913fd2017c1368e6d054b2088e91d2f8f6eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package org.spongycastle.crypto;

/**
 * base interface for general purpose byte derivation functions.
 */
public interface DerivationFunction
{
    public void init(DerivationParameters param);

    public int generateBytes(byte[] out, int outOff, int len)
        throws DataLengthException, IllegalArgumentException;
}