Home | History | Annotate | Download | only in crypto
      1 package org.bouncycastle.crypto;
      2 
      3 /**
      4  * base interface for general purpose byte derivation functions.
      5  */
      6 public interface DerivationFunction
      7 {
      8     public void init(DerivationParameters param);
      9 
     10     public int generateBytes(byte[] out, int outOff, int len)
     11         throws DataLengthException, IllegalArgumentException;
     12 }
     13